Make sure title_bar_with is initialized

With a hidden custom title, we failed to initialize
the title_bar_width variables.
This commit is contained in:
Matthias Clasen 2014-01-18 17:56:44 -05:00
parent 7c08896384
commit 679883e098

View File

@ -991,6 +991,9 @@ gtk_header_bar_size_allocate (GtkWidget *widget,
i++; i++;
} }
title_minimum_size = 0;
title_natural_size = 0;
if (priv->custom_title && if (priv->custom_title &&
gtk_widget_get_visible (priv->custom_title)) gtk_widget_get_visible (priv->custom_title))
{ {