telepathy-mission-control: WARNING macro: add

Simon McVittie smcv at kemper.freedesktop.org
Wed Feb 13 06:45:04 PST 2013


Module: telepathy-mission-control
Branch: master
Commit: a851f84c246259a3922b55cb1224ff5224809fd4
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=a851f84c246259a3922b55cb1224ff5224809fd4

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Sep 11 17:12:06 2012 +0100

WARNING macro: add

---

 src/mcd-debug.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mcd-debug.h b/src/mcd-debug.h
index 66fdafc..27e725f 100644
--- a/src/mcd-debug.h
+++ b/src/mcd-debug.h
@@ -39,6 +39,8 @@ G_BEGIN_DECLS
 #define DEBUGGING (_mcd_debug_get_level () > 0)
 #define DEBUG(format, ...) \
   mcd_debug ("%s: " format, G_STRFUNC, ##__VA_ARGS__)
+#define WARNING(format, ...) \
+  g_warning ("%s: " format, G_STRFUNC, ##__VA_ARGS__)
 
 #else /* !defined ENABLE_DEBUG */
 



More information about the telepathy-commits mailing list