mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
342141fcb2
commit
c9e1246200
@ -436,7 +436,7 @@ void fe_common_core_finish_init(void)
|
|||||||
signal_add_first("setup changed", (SIGNAL_FUNC) sig_setup_changed);
|
signal_add_first("setup changed", (SIGNAL_FUNC) sig_setup_changed);
|
||||||
|
|
||||||
/* _after_ windows are created.. */
|
/* _after_ windows are created.. */
|
||||||
#ifdef HAVE_GLIB2
|
#if GLIB_CHECK_VERSION(2,6,0)
|
||||||
g_log_set_default_handler((GLogFunc) glog_func, NULL);
|
g_log_set_default_handler((GLogFunc) glog_func, NULL);
|
||||||
#else
|
#else
|
||||||
g_log_set_handler(G_LOG_DOMAIN,
|
g_log_set_handler(G_LOG_DOMAIN,
|
||||||
|
Loading…
Reference in New Issue
Block a user