/pidgin/main: e884b8670dc2: finch: Fix build and warnings with g...

Ankit Vani a at nevitus.org
Sun Jan 26 18:30:46 EST 2014


Changeset: e884b8670dc2789a2ad9452850309e1569a0c37b
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-27 04:42 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/e884b8670dc2

Description:

finch: Fix build and warnings with glib 2.24

diffstat:

 finch/finch.c             |  3 ++-
 finch/libgnt/gntfilesel.c |  2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (32 lines):

diff --git a/finch/finch.c b/finch/finch.c
--- a/finch/finch.c
+++ b/finch/finch.c
@@ -27,7 +27,7 @@
 #include "core.h"
 #include "debug.h"
 #include "eventloop.h"
-#include "xfer.h"
+#include "glibcompat.h"
 #include "log.h"
 #include "notify.h"
 #include "prefs.h"
@@ -38,6 +38,7 @@
 #include "status.h"
 #include "util.h"
 #include "whiteboard.h"
+#include "xfer.h"
 
 #include "gntdebug.h"
 #include "gntprefs.h"
diff --git a/finch/libgnt/gntfilesel.c b/finch/libgnt/gntfilesel.c
--- a/finch/libgnt/gntfilesel.c
+++ b/finch/libgnt/gntfilesel.c
@@ -161,7 +161,7 @@ local_read_fn(const char *path, GList **
 
 	while ((str = g_dir_read_name(dir)) != NULL) {
 		char *fp = g_build_filename(path, str, NULL);
-		GStatBuf st;
+		struct stat st;
 
 		if (g_stat(fp, &st)) {
 			gnt_warning("Error stating location %s", fp);



More information about the Commits mailing list