From a5ddbaf1f8c5e6135f1e709f1965b412ff2b8c26 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 10 Oct 2012 11:36:28 -0400 Subject: [PATCH] toolbar: don't forget to set orientable style classes So that themes can select for vertical toolbars. --- gtk/gtktoolbar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index e184c067f2..56350e5650 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -44,6 +44,7 @@ #include "gtkmarshalers.h" #include "gtkmenu.h" #include "gtkorientable.h" +#include "gtkorientableprivate.h" #include "gtkradiobutton.h" #include "gtkradiotoolbutton.h" #include "gtkseparatormenuitem.h" @@ -2578,6 +2579,7 @@ gtk_toolbar_orientation_changed (GtkToolbar *toolbar, gtk_toolbar_reconfigured (toolbar); + _gtk_orientable_set_style_classes (GTK_ORIENTABLE (toolbar)); gtk_widget_queue_resize (GTK_WIDGET (toolbar)); g_object_notify (G_OBJECT (toolbar), "orientation"); }