From: Timm Bäder Date: Fri, 3 Nov 2017 10:22:00 +0000 (+0100) Subject: notebook: Fix setting show-tabs X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~23^2~912 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=11b8f27b76aea3947d1a62839c157cc646608917;p=gtk4.git notebook: Fix setting show-tabs show-tabs=FALS means the notebook is not supposed to show tabs, regardless of whether it has a current page or not. --- diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 870f98586d..65be844ca1 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -6191,8 +6191,8 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook, else gtk_widget_hide (page->tab_label); } - gtk_widget_set_visible (priv->header_widget, - gtk_notebook_has_current_page (notebook)); + + gtk_widget_hide (priv->header_widget); } else {