forked from AuroraMiddleware/gtk
window: Don't leak the GskRenderer
This commit is contained in:
parent
40955ad737
commit
ca305bb596
@ -5680,6 +5680,8 @@ gtk_window_finalize (GObject *object)
|
||||
if (priv->drag_gesture)
|
||||
g_object_unref (priv->drag_gesture);
|
||||
|
||||
g_clear_object (&priv->renderer);
|
||||
|
||||
G_OBJECT_CLASS (gtk_window_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user