mirror of
https://github.com/brl/mutter.git
synced 2025-02-08 17:44:09 +00:00
debug: Simple whitespace cleanups
This commit is contained in:
parent
8a4dc3c011
commit
6e15fd930a
@ -51,8 +51,7 @@ typedef enum {
|
|||||||
/* Try the GCC extension for valists in macros */
|
/* Try the GCC extension for valists in macros */
|
||||||
#define CLUTTER_NOTE(type,x,a...) G_STMT_START { \
|
#define CLUTTER_NOTE(type,x,a...) G_STMT_START { \
|
||||||
if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) { \
|
if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) { \
|
||||||
_clutter_debug_message ("[" #type "]:" \
|
_clutter_debug_message ("[" #type "]:" G_STRLOC ": " x, ##a); \
|
||||||
G_STRLOC ": " x, ##a); \
|
|
||||||
} } G_STMT_END
|
} } G_STMT_END
|
||||||
|
|
||||||
#else /* !__GNUC__ */
|
#else /* !__GNUC__ */
|
||||||
@ -62,9 +61,8 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
#define CLUTTER_NOTE(type,...) G_STMT_START { \
|
#define CLUTTER_NOTE(type,...) G_STMT_START { \
|
||||||
if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) { \
|
if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) { \
|
||||||
gchar * _fmt = g_strdup_printf (__VA_ARGS__); \
|
gchar *_fmt = g_strdup_printf (__VA_ARGS__); \
|
||||||
_clutter_debug_message ("[" #type "]:" \
|
_clutter_debug_message ("[" #type "]:" G_STRLOC ": %s", _fmt); \
|
||||||
G_STRLOC ": %s", _fmt); \
|
|
||||||
g_free (_fmt); \
|
g_free (_fmt); \
|
||||||
} } G_STMT_END
|
} } G_STMT_END
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user