[clutter] tests: style fixes to test-events



commit d616fd628b04824c0c1469dfc12c81b1b1bca354
Author: Emanuele Aina <emanuele aina collabora com>
Date:   Wed Sep 12 20:08:16 2012 +0200

    tests: style fixes to test-events
    
    Oops, I pushed the commit without the style fixes. Followup commit
    for 47347d5.

 tests/interactive/test-events.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/tests/interactive/test-events.c b/tests/interactive/test-events.c
index 86f1db0..ee82cca 100644
--- a/tests/interactive/test-events.c
+++ b/tests/interactive/test-events.c
@@ -255,22 +255,22 @@ input_cb (ClutterActor *actor,
       break;
     case CLUTTER_SCROLL:
       {
-        ClutterScrollDirection dir = clutter_event_get_scroll_direction(event);
+        ClutterScrollDirection dir = clutter_event_get_scroll_direction (event);
 
         if (dir == CLUTTER_SCROLL_SMOOTH)
           {
             gdouble dx, dy;
-            clutter_event_get_scroll_delta(event, &dx, &dy);
+            clutter_event_get_scroll_delta (event, &dx, &dy);
             g_print ("[%s] BUTTON SCROLL (direction:smooth %.02f,%.02f)",
-                clutter_actor_get_name (source_actor), dx, dy);
+                     clutter_actor_get_name (source_actor), dx, dy);
           }
         else
           g_print ("[%s] BUTTON SCROLL (direction:%s)",
-              clutter_actor_get_name (source_actor),
-              dir == CLUTTER_SCROLL_UP ? "up" :
-              dir == CLUTTER_SCROLL_DOWN ? "down" :
-              dir == CLUTTER_SCROLL_LEFT ? "left" :
-              dir == CLUTTER_SCROLL_RIGHT ? "right" : "?");
+                   clutter_actor_get_name (source_actor),
+                   dir == CLUTTER_SCROLL_UP ? "up" :
+                   dir == CLUTTER_SCROLL_DOWN ? "down" :
+                   dir == CLUTTER_SCROLL_LEFT ? "left" :
+                   dir == CLUTTER_SCROLL_RIGHT ? "right" : "?");
       }
       break;
     case CLUTTER_STAGE_STATE:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]