summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-01-04 21:38:22 +0100
committerTimm Bäder <mail@baedert.org>2018-01-04 21:41:35 +0100
commit7479e6cb50655c6df52b566c4c6269c83c81254e (patch)
treea3b4cd97afe9ce9e65262f6d202d43987f9f01d3
parent85fa3961761c7d3a39570b83f5212751e1651519 (diff)
downloadgtk+-7479e6cb50655c6df52b566c4c6269c83c81254e.tar.gz
notebook: Fix wrong tab widgets allocation
Since we allocate the tab widgets on demand, we have to queue an extra resize here.
-rw-r--r--gtk/gtknotebook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 2a2e8a837a..08b7b3764c 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -5425,6 +5425,7 @@ gtk_notebook_real_switch_page (GtkNotebook *notebook,
update_arrow_state (notebook);
gtk_widget_queue_resize (GTK_WIDGET (notebook));
+ gtk_widget_queue_resize (priv->tabs_widget);
g_object_notify_by_pspec (G_OBJECT (notebook), properties[PROP_PAGE]);
}