From d39e5590f9a7685b4d7013ca025c8e0dd41b279b Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 7 Jun 2009 01:26:12 +0200 Subject: [PATCH] Replace a few tabbed lines with space indentation --- extensions/mouse-gestures/main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/mouse-gestures/main.c b/extensions/mouse-gestures/main.c index 88d7a896..2d9bd02e 100644 --- a/extensions/mouse-gestures/main.c +++ b/extensions/mouse-gestures/main.c @@ -75,7 +75,7 @@ static gboolean mouse_gestures_handle_events (GtkWidget *widget, (gesture->middle.y - y < DEVIANCE && gesture->middle.y - y > -DEVIANCE)) { gesture->end.x = x; - gesture->end.y = y; + gesture->end.y = y; } } @@ -91,9 +91,9 @@ static gboolean mouse_gestures_handle_events (GtkWidget *widget, (gesture->middle.x - gesture->start.x > -DEVIANCE)) { /* We initially moved down more than MINLENGTH pixels */ - if (gesture->middle.y > gesture->start.y + MINLENGTH) - { - /* Then we the final vertical move is between the bounds and + if (gesture->middle.y > gesture->start.y + MINLENGTH) + { + /* Then we the final vertical move is between the bounds and we moved right more than MINLENGTH pixels */ if ((gesture->middle.y - gesture->end.y < DEVIANCE) && (gesture->middle.y - gesture->end.y > -DEVIANCE) && @@ -119,8 +119,8 @@ static gboolean mouse_gestures_handle_events (GtkWidget *widget, } } /* We initially moved up more than MINLENGTH pixels */ - else if (gesture->middle.y + MINLENGTH < gesture->start.y) - { + else if (gesture->middle.y + MINLENGTH < gesture->start.y) + { /* The end node was never updated, we only did a vertical move */ if (gesture->end.y == 0 && gesture->end.x == 0) { @@ -145,7 +145,7 @@ static gboolean mouse_gestures_handle_events (GtkWidget *widget, } /* We initially moved left more than MINLENGTH pixels */ else if (gesture->middle.x + MINLENGTH < gesture->start.x) - { + { /* The end node was never updated, we only did an horizontal move */ if (gesture->end.x == 0 && gesture->end.y == 0) { @@ -156,7 +156,7 @@ static gboolean mouse_gestures_handle_events (GtkWidget *widget, } } - mouse_gesture_clear (gesture); + mouse_gesture_clear (gesture); return TRUE; }