mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
debug: Do not use '&' in the messages
Use ':' as a separator between G_STRLOC and the debug message, like we do for warnings.
This commit is contained in:
parent
78d4073f8e
commit
20a359cc53
@ -50,7 +50,7 @@ typedef enum {
|
||||
#define CLUTTER_NOTE(type,x,a...) G_STMT_START { \
|
||||
if (G_UNLIKELY (CLUTTER_HAS_DEBUG (type))) \
|
||||
{ _clutter_profile_trace_message ("[" #type "] " \
|
||||
G_STRLOC " & " x, ##a); } \
|
||||
G_STRLOC ": " x, ##a); } \
|
||||
} G_STMT_END
|
||||
|
||||
#define CLUTTER_TIMESTAMP(type,x,a...) G_STMT_START { \
|
||||
@ -68,7 +68,7 @@ typedef enum {
|
||||
{ \
|
||||
gchar * _fmt = g_strdup_printf (__VA_ARGS__); \
|
||||
_clutter_profile_trace_message ("[" #type "] " \
|
||||
G_STRLOC " & %s",_fmt); \
|
||||
G_STRLOC ": %s",_fmt); \
|
||||
g_free (_fmt); \
|
||||
} \
|
||||
} G_STMT_END
|
||||
|
Loading…
Reference in New Issue
Block a user