diff options
author | Timm Bäder <mail@baedert.org> | 2017-05-26 12:48:13 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:13 -0400 |
commit | 5aeb25f460e66d46c9103680f810ea9fcea76e28 (patch) | |
tree | 467e9b2b12734e8f4f9984a2c50ff2dae552ae0a /gtk/gtkswitch.c | |
parent | c2717a887d621b8e3644b3588e688ba5556b0e4b (diff) | |
download | gtk+-5aeb25f460e66d46c9103680f810ea9fcea76e28.tar.gz |
switch: Remove manual PRELIGHT code
This works automatically now
Diffstat (limited to 'gtk/gtkswitch.c')
-rw-r--r-- | gtk/gtkswitch.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index 884163a131..900b40e009 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; } |