mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
fix: Plug few Touchable related leaks
This commit is contained in:
parent
9334cd4ee9
commit
edd6308822
@ -619,6 +619,7 @@ mks_display_picture_dispose (GObject *object)
|
|||||||
g_clear_object (&self->keyboard);
|
g_clear_object (&self->keyboard);
|
||||||
g_clear_object (&self->mouse);
|
g_clear_object (&self->mouse);
|
||||||
g_clear_object (&self->paintable_signals);
|
g_clear_object (&self->paintable_signals);
|
||||||
|
g_clear_object (&self->touchable);
|
||||||
|
|
||||||
G_OBJECT_CLASS (mks_display_picture_parent_class)->dispose (object);
|
G_OBJECT_CLASS (mks_display_picture_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
@ -230,6 +230,7 @@ mks_screen_dispose (GObject *object)
|
|||||||
|
|
||||||
g_clear_object (&self->keyboard);
|
g_clear_object (&self->keyboard);
|
||||||
g_clear_object (&self->mouse);
|
g_clear_object (&self->mouse);
|
||||||
|
g_clear_object (&self->touchable);
|
||||||
|
|
||||||
G_OBJECT_CLASS (mks_screen_parent_class)->dispose (object);
|
G_OBJECT_CLASS (mks_screen_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user