[telepathy-mission-control-5.16] telepathy-mission-control: use G_STRFUNC in mission-control-plugins's DEBUG macro

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Tue Jun 10 07:13:20 PDT 2014


Module: telepathy-mission-control
Branch: telepathy-mission-control-5.16
Commit: 9c8e148e3ba00e53d0323aa75bdf6a5528968554
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=9c8e148e3ba00e53d0323aa75bdf6a5528968554

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Mon Jun  9 15:34:13 2014 +0200

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 909631c..ced40bb 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
 



More information about the telepathy-commits mailing list