summaryrefslogtreecommitdiff
path: root/src/mcd-debug.h
diff options
context:
space:
mode:
authorAlberto Mardegan <alberto.mardegan@nokia.com>2009-02-26 14:48:11 +0200
committerAlberto Mardegan <alberto.mardegan@nokia.com>2009-02-26 14:48:11 +0200
commitf61a872d715b4665eec3346eae62c799d9b1e3c4 (patch)
treeb4056b0742f566a759f69f89f4fe2ff967d9bd43 /src/mcd-debug.h
parent51890dc35c877e8869901c7caaf07c3666ce0b76 (diff)
downloadtelepathy-mission-control-f61a872d715b4665eec3346eae62c799d9b1e3c4.tar.gz
Try avoid conflicts with other macros
Diffstat (limited to 'src/mcd-debug.h')
-rw-r--r--src/mcd-debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mcd-debug.h b/src/mcd-debug.h
index 60cc38ff..cce9c2ac 100644
--- a/src/mcd-debug.h
+++ b/src/mcd-debug.h
@@ -41,8 +41,10 @@ G_BEGIN_DECLS
} G_STMT_END
/* reference count debugging */
+#ifndef g_object_ref
#define g_object_ref(obj) (mcd_debug_ref (obj, __FILE__, __LINE__))
#define g_object_unref(obj) (mcd_debug_unref (obj, __FILE__, __LINE__))
+#endif
#else /* !defined ENABLE_DEBUG */