expander: Destroy gadgets after child widgets

With child widgets now being sorted into box gadgets, bad things
happen if those gadgets disappear prematurely.
This commit is contained in:
Matthias Clasen 2016-01-15 10:29:20 -05:00
parent 6e4d65d227
commit 6d18b77ca7

View File

@ -591,11 +591,11 @@ gtk_expander_destroy (GtkWidget *widget)
g_clear_object (&priv->multipress_gesture);
GTK_WIDGET_CLASS (gtk_expander_parent_class)->destroy (widget);
g_clear_object (&priv->arrow_gadget);
g_clear_object (&priv->title_gadget);
g_clear_object (&priv->gadget);
GTK_WIDGET_CLASS (gtk_expander_parent_class)->destroy (widget);
}
static void