diff options
Diffstat (limited to 'gtk/gtkswitch.c')
-rw-r--r-- | gtk/gtkswitch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index 8604079cf0..acb306db53 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -112,7 +112,7 @@ gtk_switch_button_press (GtkWidget *widget, if (event->x <= allocation.width / 2) { priv->in_press = TRUE; - return FALSE; + return TRUE; } priv->offset = event->x - allocation.width / 2; @@ -125,7 +125,7 @@ gtk_switch_button_press (GtkWidget *widget, if (event->x >= allocation.width / 2) { priv->in_press = TRUE; - return FALSE; + return TRUE; } priv->offset = event->x; @@ -137,7 +137,7 @@ gtk_switch_button_press (GtkWidget *widget, "gtk-dnd-drag-threshold", &priv->drag_threshold, NULL); - return FALSE; + return TRUE; } static gboolean |