From 6b19fcd85921d39fdf18479641bc3b36e0d6e86c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Jul 2020 23:15:25 -0400 Subject: [PATCH] inspector: Properly dispose GtkInspectorWindow --- gtk/inspector/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c index a064a93c4d..665e4c4c18 100644 --- a/gtk/inspector/window.c +++ b/gtk/inspector/window.c @@ -302,6 +302,7 @@ gtk_inspector_window_dispose (GObject *object) g_object_set_data (G_OBJECT (iw->inspected_display), "-gtk-inspector", NULL); + g_clear_pointer (&iw->top_stack, gtk_widget_unparent); g_clear_object (&iw->flash_overlay); g_clear_pointer (&iw->objects, g_array_unref);