From e042b3d3f209391dada206b89622f10b7cbe3a6c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 9 Jun 2014 15:34:13 +0200 Subject: [PATCH 1/3] 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 a5c61c0..8d3cec8 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 -- 1.9.3