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:
Timm Bäder 2016-05-04 18:55:33 +02:00
parent 4ba1f19b03
commit 0efe186d95

View File

@ -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);