Mercurial > projects > xinhibit-applet
comparison xia-debug.c @ 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 | 9a16bf50daba |
children |
comparison
equal
deleted
inserted
replaced
7:880ab1925442 | 8:a47449b807b2 |
---|---|
25 #include <stdarg.h> | 25 #include <stdarg.h> |
26 #include <glib.h> | 26 #include <glib.h> |
27 | 27 |
28 #include "xia-debug.h" | 28 #include "xia-debug.h" |
29 | 29 |
30 #if !GLIB_CHECK_VERSION(2, 32, 0) | |
30 static void | 31 static void |
31 dummy_log_handler(const gchar *log_domain, GLogLevelFlags log_level, | 32 dummy_log_handler(const gchar *log_domain, GLogLevelFlags log_level, |
32 const gchar *message, gpointer data) | 33 const gchar *message, gpointer data) |
33 { | 34 { |
34 /* Swallow all messages */ | 35 /* Swallow all messages */ |
35 } | 36 } |
37 #endif /* !GLIB_CHECK_VERSION (2,32,0) */ | |
36 | 38 |
37 void | 39 void |
38 xia_debug_init(gboolean debug_mode) | 40 xia_debug_init(gboolean debug_mode) |
39 { | 41 { |
40 /* | 42 /* |