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");