From 9200ffb257a855599dced63b8a1dca1930984735 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 1 May 2008 23:23:26 +0000 Subject: Fix build with debug disabled. svn path=/trunk/; revision=1075 --- libempathy/empathy-debug.c | 11 +++++++++++ libempathy/empathy-debug.h | 5 ----- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-debug.c b/libempathy/empathy-debug.c index 5644f05c2..16d61c37c 100644 --- a/libempathy/empathy-debug.c +++ b/libempathy/empathy-debug.c @@ -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) { diff --git a/libempathy/empathy-debug.h b/libempathy/empathy-debug.h index f0578640a..5f15b8c1b 100644 --- a/libempathy/empathy-debug.h +++ b/libempathy/empathy-debug.h @@ -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 -- cgit v1.2.3