mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 08:40:08 +00:00
notebook: don't forget to reset the style after setting show-tabs
This fixes a regression after commit
b04f4c536a
This commit is contained in:
parent
605c383c78
commit
6e1aa0e0a9
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user