[gtk+/gtk-3-20] switch: Remove .slider from slider gadget
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] switch: Remove .slider from slider gadget
- Date: Thu, 5 May 2016 19:24:35 +0000 (UTC)
commit e9713145f9134009e664ab5371eb08cf31bbf595
Author: Timm Bäder <mail baedert org>
Date: Wed May 4 18:55:33 2016 +0200
switch: Remove .slider from slider gadget
As the documentation states, neither the switch nor the slider gadget
should be using any style classes.
gtk/gtkswitch.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index b7da3f0..f3e4caf 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -1080,7 +1080,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]