From 9c8e148e3ba00e53d0323aa75bdf6a5528968554 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 9 Jun 2014 15:34:13 +0200 Subject: 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 --- mission-control-plugins/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1