forked from AuroraMiddleware/gtk
switch: Remove .slider from slider gadget
As the documentation states, neither the switch nor the slider gadget should be using any style classes.
This commit is contained in:
parent
4ba1f19b03
commit
0efe186d95
@ -1059,7 +1059,6 @@ gtk_switch_init (GtkSwitch *self)
|
||||
gtk_switch_render_slider,
|
||||
NULL,
|
||||
NULL);
|
||||
gtk_css_gadget_add_class (priv->slider_gadget, GTK_STYLE_CLASS_SLIDER);
|
||||
|
||||
gesture = gtk_gesture_multi_press_new (GTK_WIDGET (self));
|
||||
gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (gesture), FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user