GtkPaned: Update orientation style classes

This commit is contained in:
Alexander Larsson 2012-03-20 11:35:39 +01:00
parent ad1c0f7155
commit 6e35ae8515

View File

@ -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;