mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
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
This commit is contained in:
parent
11274d03f3
commit
a72e65d9ed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user