headerbar: Avoid calling gtk_widget_destroy()

This commit is contained in:
Timm Bäder
2020-02-20 19:29:25 +01:00
parent 103b6a9205
commit f4202c5075

View File

@@ -802,7 +802,7 @@ gtk_header_bar_dispose (GObject *object)
if (priv->label_sizing_box)
{
gtk_widget_destroy (priv->label_sizing_box);
g_object_ref_sink (priv->label_sizing_box);
g_clear_object (&priv->label_sizing_box);
}