notebook: Fix wrong tab widgets allocation

Since we allocate the tab widgets on demand, we have to queue an extra
resize here.
This commit is contained in:
Timm Bäder 2018-01-04 21:38:22 +01:00
parent 85fa396176
commit 7479e6cb50

View File

@ -5425,6 +5425,7 @@ gtk_notebook_real_switch_page (GtkNotebook *notebook,
update_arrow_state (notebook);
gtk_widget_queue_resize (GTK_WIDGET (notebook));
gtk_widget_queue_resize (priv->tabs_widget);
g_object_notify_by_pspec (G_OBJECT (notebook), properties[PROP_PAGE]);
}