]> git.0d.be Git - empathy.git/commitdiff
Fix build with debug disabled.
authorXavier Claessens <xclaesse@src.gnome.org>
Thu, 1 May 2008 23:23:26 +0000 (23:23 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Thu, 1 May 2008 23:23:26 +0000 (23:23 +0000)
svn path=/trunk/; revision=1075

libempathy/empathy-debug.c
libempathy/empathy-debug.h

index 5644f05c221ba0e75d0cdb7c9926c3a4537829cf..16d61c37c4f8dcf8912ad8b09fe4c2477fe51e8c 100644 (file)
@@ -89,6 +89,17 @@ empathy_debug (EmpathyDebugFlags flag,
 
 #else
 
+gboolean
+empathy_debug_flag_is_set (EmpathyDebugFlags flag)
+{
+  return FALSE;
+}
+
+void
+empathy_debug (EmpathyDebugFlags flag, const gchar *format, ...)
+{
+}
+
 void
 empathy_debug_set_flags (const gchar *flags_string)
 {
index f0578640a63aaebb438fd7e72f92f6889eb61fd0..5f15b8c1b29f4fdc1475a0f523f5a3d5e95cb795 100644 (file)
@@ -29,8 +29,6 @@
 
 G_BEGIN_DECLS
 
-#ifdef ENABLE_DEBUG
-
 /* Please keep this enum in sync with #keys in empathy-debug.c */
 typedef enum
 {
@@ -46,9 +44,6 @@ typedef enum
 gboolean empathy_debug_flag_is_set (EmpathyDebugFlags flag);
 void empathy_debug (EmpathyDebugFlags flag, const gchar *format, ...)
     G_GNUC_PRINTF (2, 3);
-
-#endif /* ENABLE_DEBUG */
-
 void empathy_debug_set_flags (const gchar *flags_string);
 G_END_DECLS