diff options
author | Denis Washington <denisw@online.de> | 2011-08-30 08:38:03 +0200 |
---|---|---|
committer | Denis Washington <denisw@online.de> | 2011-08-30 08:38:03 +0200 |
commit | cea54613538ffaa0a2cf2326de1822f740de1361 (patch) | |
tree | c18de79055af8c6466ab882ac1f257c93c316311 /gtk/gtknotebook.c | |
parent | c2107aebe708d44e04a34f9549c110a82cce5153 (diff) | |
parent | 143f943905fc75cb5888011b641e447ee5c75037 (diff) | |
download | gtk+-gtkbuilder-gbinding-transform.tar.gz |
Merge branch 'gtkbuilder-gbinding' into gtkbuilder-gbinding-transformgtkbuilder-gbinding-transform
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 9c7ece563c..a518e9c7ca 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -2254,7 +2254,7 @@ gtk_notebook_size_request (GtkWidget *widget, if (priv->show_tabs) { - GtkRequisition tabs_requisition; + GtkRequisition tabs_requisition = { 0, 0 }; gtk_notebook_get_preferred_tabs_size (notebook, &tabs_requisition); if (orientation == GTK_ORIENTATION_HORIZONTAL) @@ -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); } |