[gtk+] GtkPaned: Set orientable style classes initially
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkPaned: Set orientable style classes initially
- Date: Fri, 18 Jul 2014 23:40:45 +0000 (UTC)
commit 9b4001ed002b9e641ba49a1af1a261ef4d4a5471
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 18 19:38:56 2014 -0400
GtkPaned: Set orientable style classes initially
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkpaned.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index ae2f786..2855a29 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -789,6 +789,8 @@ gtk_paned_init (GtkPaned *paned)
priv->handle_pos.x = -1;
priv->handle_pos.y = -1;
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (paned));
+
gesture = gtk_gesture_pan_new (GTK_WIDGET (paned),
GTK_ORIENTATION_HORIZONTAL);
gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (gesture), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]