forked from AuroraMiddleware/gtk
GtkRange: Set orientable style classes initially
This was an omission, horizontal/vertical would only be set when the orientation is changed.
This commit is contained in:
parent
18a92992a0
commit
f1d1f139af
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user