forked from AuroraMiddleware/gtk
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:
parent
7c08896384
commit
679883e098
@ -991,6 +991,9 @@ gtk_header_bar_size_allocate (GtkWidget *widget,
|
||||
i++;
|
||||
}
|
||||
|
||||
title_minimum_size = 0;
|
||||
title_natural_size = 0;
|
||||
|
||||
if (priv->custom_title &&
|
||||
gtk_widget_get_visible (priv->custom_title))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user