tags 665627 + patch
thanks

Attached is a build-tested patch.
There are still a few warnings about usage of deprecated API [1],
which you should fix eventually.

Cheers,
Michael

[1]
fkeys.c:1510:4: warning: 'g_completion_new' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:60) 
[-Wdeprecated-declarations]
fkeys.c:1517:4: warning: 'g_completion_new' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:60) 
[-Wdeprecated-declarations]
fkeys.c:1531:3: warning: 'g_completion_set_compare' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:78) 
[-Wdeprecated-declarations]
fkeys.c:1534:4: warning: 'g_completion_add_items' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:62) 
[-Wdeprecated-declarations]
fkeys.c:1545:3: warning: 'g_completion_complete_utf8' is deprecated (declared 
at /usr/include/glib-2.0/glib/deprecated/gcompletion.h:74) 
[-Wdeprecated-declarations]
fkeys.c:1552:4: warning: 'g_completion_free' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:81) 
[-Wdeprecated-declarations]
fkeys.c:1590:5: warning: 'g_completion_free' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:81) 
[-Wdeprecated-declarations]
fkeys.c:1647:6: warning: 'g_completion_free' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:81) 
[-Wdeprecated-declarations]
fkeys.c:1672:3: warning: 'g_completion_free' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:81) 
[-Wdeprecated-declarations]
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Index: xchat-2.8.8/src/common/servlist.c
===================================================================
--- xchat-2.8.8.orig/src/common/servlist.c	2012-03-31 01:42:37.000000000 +0200
+++ xchat-2.8.8/src/common/servlist.c	2012-03-31 01:48:49.077101477 +0200
@@ -24,7 +24,7 @@
 #include <unistd.h>
 
 #include "xchat.h"
-#include <glib/ghash.h>
+#include <glib.h>
 
 #include "cfgfiles.h"
 #include "fe.h"
Index: xchat-2.8.8/src/common/text.c
===================================================================
--- xchat-2.8.8.orig/src/common/text.c	2010-05-30 04:14:41.000000000 +0200
+++ xchat-2.8.8/src/common/text.c	2012-03-31 01:48:48.761101488 +0200
@@ -28,7 +28,7 @@
 #include <sys/mman.h>
 
 #include "xchat.h"
-#include <glib/ghash.h>
+#include <glib.h>
 #include "cfgfiles.h"
 #include "chanopt.h"
 #include "plugin.h"
Index: xchat-2.8.8/src/common/util.c
===================================================================
--- xchat-2.8.8.orig/src/common/util.c	2012-03-31 01:42:37.000000000 +0200
+++ xchat-2.8.8/src/common/util.c	2012-03-31 01:48:48.865101484 +0200
@@ -39,7 +39,7 @@
 #include <errno.h>
 #include "xchat.h"
 #include "xchatc.h"
-#include <glib/gmarkup.h>
+#include <glib.h>
 #include <ctype.h>
 #include "util.h"
 #include "../../config.h"
Index: xchat-2.8.8/src/common/xchat.h
===================================================================
--- xchat-2.8.8.orig/src/common/xchat.h	2012-03-31 01:42:37.000000000 +0200
+++ xchat-2.8.8/src/common/xchat.h	2012-03-31 01:48:48.537101496 +0200
@@ -1,10 +1,6 @@
 #include "../../config.h"
 
-#include <glib/gslist.h>
-#include <glib/glist.h>
-#include <glib/gutils.h>
-#include <glib/giochannel.h>
-#include <glib/gstrfuncs.h>
+#include <glib.h>
 #include <time.h>			/* need time_t */
 
 #ifndef XCHAT_H

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to