mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
cb755a7b70
failed to unpatch the previous time git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3859 dbcabf3a-b0e7-0310-adc4-f8d773084564
22 lines
949 B
Plaintext
Executable File
22 lines
949 B
Plaintext
Executable File
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
## 01glib-errors.dpatch by David Pashley <david@davidpashley.com>
|
|
##
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
## DP: No description.
|
|
|
|
@DPATCH@
|
|
diff -urNad --exclude=CVS --exclude=.svn ./src/fe-common/core/fe-common-core.c /tmp/dpep-work.Z3VDTJ/irssi-0.8.10~rc5/src/fe-common/core/fe-common-core.c
|
|
--- ./src/fe-common/core/fe-common-core.c 2004-08-20 03:02:29.000000000 +0300
|
|
+++ /tmp/dpep-work.Z3VDTJ/irssi-0.8.10~rc5/src/fe-common/core/fe-common-core.c 2005-07-15 21:57:54.000000000 +0300
|
|
@@ -430,6 +430,10 @@
|
|
(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);
|