[clutter] debug: Simple whitespace cleanups



commit 6e15fd930a2b5cfb83f0edaf03be4a7d2e6ab8d2
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Nov 18 17:54:19 2011 +0000

    debug: Simple whitespace cleanups

 clutter/clutter-debug.h |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/clutter/clutter-debug.h b/clutter/clutter-debug.h
index 7cf7f4a..00302bf 100644
--- a/clutter/clutter-debug.h
+++ b/clutter/clutter-debug.h
@@ -51,8 +51,7 @@ typedef enum {
 /* Try the GCC extension for valists in macros */
 #define CLUTTER_NOTE(type,x,a...)                       G_STMT_START {  \
         if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) {                    \
-          _clutter_debug_message ("[" #type "]:"                        \
-                                  G_STRLOC ": " x, ##a);                \
+          _clutter_debug_message ("[" #type "]:" G_STRLOC ": " x, ##a); \
         }                                               } G_STMT_END
 
 #else /* !__GNUC__ */
@@ -60,12 +59,11 @@ typedef enum {
  * empty arguments to the macro, which means we have to
  * do an intemediate printf.
  */
-#define CLUTTER_NOTE(type,...)                          G_STMT_START {  \
-        if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) {                    \
-          gchar * _fmt = g_strdup_printf (__VA_ARGS__);                 \
-          _clutter_debug_message ("[" #type "]:"                        \
-                                  G_STRLOC ": %s", _fmt);               \
-            g_free (_fmt);                                              \
+#define CLUTTER_NOTE(type,...)                          G_STMT_START {   \
+        if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) {                     \
+          gchar *_fmt = g_strdup_printf (__VA_ARGS__);                   \
+          _clutter_debug_message ("[" #type "]:" G_STRLOC ": %s", _fmt); \
+          g_free (_fmt);                                                 \
         }                                               } G_STMT_END
 #endif
 



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