mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
lib: release inhibitor with dispose
This commit is contained in:
parent
3794f43ee1
commit
1a4bcb8c31
@ -142,6 +142,7 @@ mks_display_disconnect (MksDisplay *self)
|
||||
g_assert (MKS_IS_DISPLAY (self));
|
||||
|
||||
g_clear_object (&priv->screen);
|
||||
g_clear_object (&priv->inhibitor);
|
||||
|
||||
if (priv->picture != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user