diff options
author | Timo Sirainen <cras@irssi.org> | 2005-11-20 14:33:32 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-11-20 14:33:32 +0000 |
commit | c9e1246200f328a6c43b45c27206ddc217912613 (patch) | |
tree | 6bd3cc4d916086e898fa6689dfe9ac731f3587ca /src/fe-common | |
parent | 342141fcb20cffcc7c2f49e7e478ba81af467df3 (diff) | |
download | irssi-c9e1246200f328a6c43b45c27206ddc217912613.zip |
g_log_set_default_handler() came only in glib 2.6.0. Don't use it for older
glibs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4083 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/fe-common-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c index b5764ceb..be42812f 100644 --- a/src/fe-common/core/fe-common-core.c +++ b/src/fe-common/core/fe-common-core.c @@ -436,7 +436,7 @@ void fe_common_core_finish_init(void) signal_add_first("setup changed", (SIGNAL_FUNC) sig_setup_changed); /* _after_ windows are created.. */ -#ifdef HAVE_GLIB2 +#if GLIB_CHECK_VERSION(2,6,0) g_log_set_default_handler((GLogFunc) glog_func, NULL); #else g_log_set_handler(G_LOG_DOMAIN, |