Commit 0efe186d authored by Timm Bäder's avatar Timm Bäder 👎

switch: Remove .slider from slider gadget

As the documentation states, neither the switch nor the slider gadget
should be using any style classes.
parent 4ba1f19b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment