# HG changeset patch # User Guido Berhoerster # Date 1375976196 -7200 # Node ID a47449b807b275cddc29bffd22a63c3f6b538fa1 # Parent 880ab19254420434f5db5bfecac05ad4bbae5c49 Remove unused function Remove the unused dummy_log_handler function when using glib >= 2.32. diff -r 880ab1925442 -r a47449b807b2 xia-debug.c --- 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)