summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-common-core.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-09-23 13:42:00 -0300
committerdequis <dx@dxzone.com.ar>2015-09-23 13:58:22 -0300
commit9da445ab86740be13f47da7eb540fb9e4b962085 (patch)
tree6e817972c9a9d36b169e86f2bbd85252b3261aa9 /src/fe-common/core/fe-common-core.c
parente833521cefdedcdbc0e4382715a36ea5f8276a86 (diff)
downloadirssi-9da445ab86740be13f47da7eb540fb9e4b962085.zip
Drop some glib version checks that are not needed anymore
The g_strcmp0 fallback in particular was broken since it was used in a few places as a GCompareFunc, and macros don't work that way. Yes, that one was my fault, but nobody complained :D
Diffstat (limited to 'src/fe-common/core/fe-common-core.c')
-rw-r--r--src/fe-common/core/fe-common-core.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c
index 341902df..a15850e2 100644
--- a/src/fe-common/core/fe-common-core.c
+++ b/src/fe-common/core/fe-common-core.c
@@ -450,18 +450,7 @@ void fe_common_core_finish_init(void)
signal_add_first("setup changed", (SIGNAL_FUNC) sig_setup_changed);
/* _after_ windows are created.. */
-#if GLIB_CHECK_VERSION(2,6,0)
g_log_set_default_handler((GLogFunc) glog_func, NULL);
-#else
- g_log_set_handler(G_LOG_DOMAIN,
- (GLogLevelFlags) (G_LOG_LEVEL_CRITICAL |
- G_LOG_LEVEL_WARNING),
- (GLogFunc) glog_func, NULL);
- g_log_set_handler("GLib",
- (GLogLevelFlags) (G_LOG_LEVEL_CRITICAL |
- G_LOG_LEVEL_WARNING),
- (GLogFunc) glog_func, NULL); /* send glib errors to the same place */
-#endif
if (setup_changed)
signal_emit("setup changed", 0);