forked from AuroraMiddleware/gtk
toolitemgroup: Fix the previous change
dispose can be called more than once.
This commit is contained in:
parent
9753bea6a4
commit
0f4663728e
@ -523,7 +523,8 @@ gtk_tool_item_group_dispose (GObject *object)
|
||||
}
|
||||
|
||||
g_clear_object (&priv->settings);
|
||||
gtk_widget_destroy (priv->header);
|
||||
if (priv->header)
|
||||
gtk_widget_destroy (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