diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2005-07-17 16:40:06 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-07-17 16:40:06 +0000 |
commit | a72e65d9edc7bcc056dc8be8828f0bd9dd9dbb7c (patch) | |
tree | 9d7782ef71f2d9191c0fc86f3e51e5caa62db33c /src | |
parent | 11274d03f3334afc30726cc64779c06f2ac39cb3 (diff) | |
download | irssi-a72e65d9edc7bcc056dc8be8828f0bd9dd9dbb7c.zip |
Print glib errors nicely (debian/patches/01glib-errors.dpatch by David Pashley)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3862 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/fe-common-core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c index cecb6dac..279588de 100644 --- a/src/fe-common/core/fe-common-core.c +++ b/src/fe-common/core/fe-common-core.c @@ -440,6 +440,10 @@ void fe_common_core_finish_init(void) (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 */ if (setup_changed) signal_emit("setup changed", 0); |