summaryrefslogtreecommitdiff
path: root/gtk/gtkswitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkswitch.c')
-rw-r--r--gtk/gtkswitch.c2
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;
}