[gtk+] GtkPaned: Update orientation style classes
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkPaned: Update orientation style classes
- Date: Tue, 20 Mar 2012 10:37:29 +0000 (UTC)
commit 6e35ae8515713d7fac3092d393e279e7409b9ae2
Author: Alexander Larsson <alexl redhat com>
Date: Tue Mar 20 11:35:39 2012 +0100
GtkPaned: Update orientation style classes
gtk/gtkpaned.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 16c47c1..f2fbe13 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]