From f1d1f139af32f3fe59018e7fe30f8b7a0a1b6118 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 18 Jul 2014 19:39:32 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+) diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 84e79fa0bf..c65f58fecd 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);