diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-05-02 07:23:26 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-05-02 07:23:26 +0800 |
commit | cfe137907aa0a7ea2e45a18c1dc20a86b0501a49 (patch) | |
tree | 164e9a3fb2d06e291944e166aff18f42d8641576 /libempathy | |
parent | 3ab411d025f57792de92f087c4559bef23e29a2d (diff) | |
download | gsoc2013-empathy-cfe137907aa0a7ea2e45a18c1dc20a86b0501a49.tar gsoc2013-empathy-cfe137907aa0a7ea2e45a18c1dc20a86b0501a49.tar.gz gsoc2013-empathy-cfe137907aa0a7ea2e45a18c1dc20a86b0501a49.tar.bz2 gsoc2013-empathy-cfe137907aa0a7ea2e45a18c1dc20a86b0501a49.tar.lz gsoc2013-empathy-cfe137907aa0a7ea2e45a18c1dc20a86b0501a49.tar.xz gsoc2013-empathy-cfe137907aa0a7ea2e45a18c1dc20a86b0501a49.tar.zst gsoc2013-empathy-cfe137907aa0a7ea2e45a18c1dc20a86b0501a49.zip |
Fix build with debug disabled.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1075 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-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 |