[gtk+/wip/baedert/drawing: 201/371] switch: Remove manual PRELIGHT code
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 201/371] switch: Remove manual PRELIGHT code
- Date: Sun, 16 Jul 2017 15:38:43 +0000 (UTC)
commit 4e07f790978c0704828de74e2576465c2d69cdd2
Author: Timm Bäder <mail baedert org>
Date: Fri May 26 12:48:13 2017 +0200
switch: Remove manual PRELIGHT code
This works automatically now
gtk/gtkswitch.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index 884163a..900b40e 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -283,7 +283,6 @@ gtk_switch_enter (GtkWidget *widget,
GtkSwitchPrivate *priv = GTK_SWITCH (widget)->priv;
priv->in_switch = TRUE;
- gtk_widget_set_state_flags (widget, GTK_STATE_FLAG_PRELIGHT, FALSE);
return FALSE;
}
@@ -295,7 +294,6 @@ gtk_switch_leave (GtkWidget *widget,
GtkSwitchPrivate *priv = GTK_SWITCH (widget)->priv;
priv->in_switch = FALSE;
- gtk_widget_unset_state_flags (widget, GTK_STATE_FLAG_PRELIGHT);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]