notebook: Fix child property setters causing underallocations

Don't randomly allocate around, queue resizes instead.
This commit is contained in:
Benjamin Otte 2011-08-27 01:50:28 +02:00
parent 52711beba5
commit e11e51c252

View File

@ -7853,7 +7853,7 @@ gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
gtk_widget_child_notify (child, "tab-fill");
gtk_widget_child_notify (child, "position");
if (priv->show_tabs)
gtk_notebook_pages_allocate (notebook);
gtk_widget_queue_resize (GTK_WIDGET (notebook));
gtk_widget_thaw_child_notify (child);
}