forked from PsychoticNinja/irssi
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 |
|
(GLogLevelFlags) (G_LOG_LEVEL_CRITICAL |
|
||||||
G_LOG_LEVEL_WARNING),
|
G_LOG_LEVEL_WARNING),
|
||||||
(GLogFunc) glog_func, NULL);
|
(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)
|
if (setup_changed)
|
||||||
signal_emit("setup changed", 0);
|
signal_emit("setup changed", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user