summaryrefslogtreecommitdiff
path: root/gtk/gtkpaned.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-03-20 11:35:39 +0100
committerAlexander Larsson <alexl@redhat.com>2012-03-20 11:35:39 +0100
commit6e35ae8515713d7fac3092d393e279e7409b9ae2 (patch)
tree194f2c22c6bb220d5a189d6de056f174f27ef252 /gtk/gtkpaned.c
parentad1c0f7155b034a74ffaa54989ea1c96fb2ba86d (diff)
downloadgtk+-6e35ae8515713d7fac3092d393e279e7409b9ae2.tar.gz
GtkPaned: Update orientation style classes
Diffstat (limited to 'gtk/gtkpaned.c')
-rw-r--r--gtk/gtkpaned.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 16c47c1e1c..f2fbe13dad 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -32,6 +32,7 @@
#include "gtkorientable.h"
#include "gtkwindow.h"
#include "gtktypebuiltins.h"
+#include "gtkorientableprivate.h"
#include "gtkprivate.h"
#include "gtkintl.h"
#include "a11y/gtkpanedaccessible.h"
@@ -720,6 +721,7 @@ gtk_paned_set_property (GObject *object,
{
case PROP_ORIENTATION:
priv->orientation = g_value_get_enum (value);
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (paned));
if (priv->orientation == GTK_ORIENTATION_HORIZONTAL)
priv->cursor_type = GDK_SB_H_DOUBLE_ARROW;