forked from AuroraMiddleware/gtk
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:
parent
6e4d65d227
commit
6d18b77ca7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user