forked from AuroraMiddleware/gtk
toolitemgroup: Properly remove internal child widget
We now need to use gtk_widget_unparent and can't just destroy it.
This commit is contained in:
parent
4bd2a9bca9
commit
0f2e043c3d
@ -540,7 +540,7 @@ gtk_tool_item_group_dispose (GObject *object)
|
||||
|
||||
g_clear_object (&priv->settings);
|
||||
if (priv->header)
|
||||
gtk_widget_destroy (priv->header);
|
||||
gtk_widget_unparent (priv->header);
|
||||
g_clear_object (&priv->header);
|
||||
|
||||
G_OBJECT_CLASS (gtk_tool_item_group_parent_class)->dispose (object);
|
||||
|
Loading…
Reference in New Issue
Block a user