[gtk+] GtkRange: Set orientable style classes initially
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+] GtkRange: Set orientable style classes initially
 
- Date: Fri, 18 Jul 2014 23:40:55 +0000 (UTC)
 
commit f1d1f139af32f3fe59018e7fe30f8b7a0a1b6118
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 18 19:39:32 2014 -0400
    GtkRange: Set orientable style classes initially
    
    This was an omission, horizontal/vertical would only be set
    when the orientation is changed.
 gtk/gtkrange.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 84e79fa..c65f58f 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -754,6 +754,8 @@ gtk_range_init (GtkRange *range)
   priv->fill_level = G_MAXDOUBLE;
   priv->timer = NULL;
 
+  _gtk_orientable_set_style_classes (GTK_ORIENTABLE (range));
+
   priv->multipress_gesture = gtk_gesture_multi_press_new (GTK_WIDGET (range));
   gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (priv->multipress_gesture),
                                      FALSE);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]