changeset 8:a47449b807b2

Remove unused function Remove the unused dummy_log_handler function when using glib >= 2.32.
author Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
date Thu, 08 Aug 2013 17:36:36 +0200
parents 880ab1925442
children d83540fd999c
files xia-debug.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/xia-debug.c	Thu Aug 08 17:32:57 2013 +0200
+++ b/xia-debug.c	Thu Aug 08 17:36:36 2013 +0200
@@ -27,12 +27,14 @@
 
 #include "xia-debug.h"
 
+#if !GLIB_CHECK_VERSION(2, 32, 0)
 static void
 dummy_log_handler(const gchar *log_domain, GLogLevelFlags log_level,
     const gchar *message, gpointer data)
 {
 	/* Swallow all messages */
 }
+#endif /* !GLIB_CHECK_VERSION (2,32,0) */
 
 void
 xia_debug_init(gboolean debug_mode)