[gimp] app: some formatting before real changes happen



commit 828e4d8452cda0e7ec71d0d8c8b42a74f085c238
Author: Michael Natterer <mitch gimp org>
Date:   Tue Feb 16 13:05:17 2010 +0100

    app: some formatting before real changes happen

 app/widgets/gimpdeviceinfo-coords.c |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/app/widgets/gimpdeviceinfo-coords.c b/app/widgets/gimpdeviceinfo-coords.c
index b918b75..44f9846 100644
--- a/app/widgets/gimpdeviceinfo-coords.c
+++ b/app/widgets/gimpdeviceinfo-coords.c
@@ -50,20 +50,28 @@ gimp_device_info_get_event_coords (GimpDeviceInfo *info,
        */
 
       if (gdk_event_get_axis (event, GDK_AXIS_PRESSURE, &coords->pressure))
-        coords->pressure = CLAMP (coords->pressure, GIMP_COORDS_MIN_PRESSURE,
-                                  GIMP_COORDS_MAX_PRESSURE);
+        {
+          coords->pressure = CLAMP (coords->pressure, GIMP_COORDS_MIN_PRESSURE,
+                                    GIMP_COORDS_MAX_PRESSURE);
+        }
 
       if (gdk_event_get_axis (event, GDK_AXIS_XTILT, &coords->xtilt))
-        coords->xtilt = CLAMP (coords->xtilt, GIMP_COORDS_MIN_TILT,
-                               GIMP_COORDS_MAX_TILT);
+        {
+          coords->xtilt = CLAMP (coords->xtilt, GIMP_COORDS_MIN_TILT,
+                                 GIMP_COORDS_MAX_TILT);
+        }
 
       if (gdk_event_get_axis (event, GDK_AXIS_YTILT, &coords->ytilt))
-        coords->ytilt = CLAMP (coords->ytilt, GIMP_COORDS_MIN_TILT,
-                               GIMP_COORDS_MAX_TILT);
+        {
+          coords->ytilt = CLAMP (coords->ytilt, GIMP_COORDS_MIN_TILT,
+                                 GIMP_COORDS_MAX_TILT);
+        }
 
       if (gdk_event_get_axis (event, GDK_AXIS_WHEEL, &coords->wheel))
-        coords->wheel = CLAMP (coords->wheel, GIMP_COORDS_MIN_WHEEL,
-                               GIMP_COORDS_MAX_WHEEL);
+        {
+          coords->wheel = CLAMP (coords->wheel, GIMP_COORDS_MIN_WHEEL,
+                                 GIMP_COORDS_MAX_WHEEL);
+        }
 
       return TRUE;
     }



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