summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-03-17 17:26:15 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-03-17 17:27:37 -0400
commit6e1aa0e0a9e66aec48db808453117fd36a423efd (patch)
tree0683ec5be9d6a5ed25c2dfcb6f3219f53b38c856 /gtk/gtknotebook.c
parent605c383c783f58e8bf94c21dcc8c3497c80cf48a (diff)
downloadgtk+-6e1aa0e0a9e66aec48db808453117fd36a423efd.tar.gz
notebook: don't forget to reset the style after setting show-tabs
This fixes a regression after commit b04f4c536aeab4281a9f0117e67accae19d691b9
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 94a078c09a..e4194dfd6a 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -7149,6 +7149,7 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook,
gtk_widget_set_child_visible (priv->action_widget[i], show_tabs);
}
+ gtk_widget_reset_style (GTK_WIDGET (notebook));
gtk_widget_queue_resize (GTK_WIDGET (notebook));
g_object_notify (G_OBJECT (notebook), "show-tabs");