diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-06-09 15:34:13 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-06-10 16:08:46 +0200 |
commit | 9c8e148e3ba00e53d0323aa75bdf6a5528968554 (patch) | |
tree | 96d4b61e12945106e445f9b7fc68b5d499cc958d /mission-control-plugins | |
parent | c86536f3b5fcc21eac60a836954d1aa002b67cc0 (diff) |
use G_STRFUNC in mission-control-plugins's DEBUG macro
It's more useful when reading logs than G_STRLOC and that's what we already
use in src/mcd-debug.h
Diffstat (limited to 'mission-control-plugins')
-rw-r--r-- | mission-control-plugins/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mission-control-plugins/debug.h b/mission-control-plugins/debug.h index 909631c1..ced40bb8 100644 --- a/mission-control-plugins/debug.h +++ b/mission-control-plugins/debug.h @@ -27,7 +27,7 @@ #define MCP_DEBUG(_type, _fmt, ...) \ G_STMT_START { if (mcp_is_debugging (_type)) \ - g_debug ("%s: " _fmt, G_STRLOC, ##__VA_ARGS__); } G_STMT_END + g_debug ("%s: " _fmt, G_STRFUNC, ##__VA_ARGS__); } G_STMT_END G_BEGIN_DECLS |