diff options
-rw-r--r-- | libempathy/empathy-debug.c | 11 | ||||
-rw-r--r-- | libempathy/empathy-debug.h | 5 |
2 files changed, 11 insertions, 5 deletions
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 |