diff options
Diffstat (limited to 'gtk/gtktoolitemgroup.c')
-rw-r--r-- | gtk/gtktoolitemgroup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c index 6d783788dc..1b734b55b7 100644 --- a/gtk/gtktoolitemgroup.c +++ b/gtk/gtktoolitemgroup.c @@ -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); |