Merge branch 'bilelmoussaoui/leaks' into 'main'

fix: Plug few Touchable related leaks

See merge request GNOME/libmks!34
This commit is contained in:
Christian Hergert 2023-08-31 16:10:17 +00:00
commit ac87feda05
2 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,7 @@ mks_display_picture_dispose (GObject *object)
g_clear_object (&self->keyboard);
g_clear_object (&self->mouse);
g_clear_object (&self->paintable_signals);
g_clear_object (&self->touchable);
G_OBJECT_CLASS (mks_display_picture_parent_class)->dispose (object);
}

View File

@ -230,6 +230,7 @@ mks_screen_dispose (GObject *object)
g_clear_object (&self->keyboard);
g_clear_object (&self->mouse);
g_clear_object (&self->touchable);
G_OBJECT_CLASS (mks_screen_parent_class)->dispose (object);
}