aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-02 07:23:26 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-02 07:23:26 +0800
commit9200ffb257a855599dced63b8a1dca1930984735 (patch)
tree164e9a3fb2d06e291944e166aff18f42d8641576
parentd1250b3c088eabf02ec8923e169cf78283493c8f (diff)
downloadgsoc2013-empathy-9200ffb257a855599dced63b8a1dca1930984735.tar
gsoc2013-empathy-9200ffb257a855599dced63b8a1dca1930984735.tar.gz
gsoc2013-empathy-9200ffb257a855599dced63b8a1dca1930984735.tar.bz2
gsoc2013-empathy-9200ffb257a855599dced63b8a1dca1930984735.tar.lz
gsoc2013-empathy-9200ffb257a855599dced63b8a1dca1930984735.tar.xz
gsoc2013-empathy-9200ffb257a855599dced63b8a1dca1930984735.tar.zst
gsoc2013-empathy-9200ffb257a855599dced63b8a1dca1930984735.zip
Fix build with debug disabled.
svn path=/trunk/; revision=1075
-rw-r--r--libempathy/empathy-debug.c11
-rw-r--r--libempathy/empathy-debug.h5
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