[gtk+] switch: Remove .slider from slider gadget
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] switch: Remove .slider from slider gadget
- Date: Wed, 4 May 2016 16:58:48 +0000 (UTC)
commit 0efe186d956bbdb75c7cbef4e95d56ca370d3ee7
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 5ab35c7..b09b3b4 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]