pidgin/pidgin

e884b8670dc2
Parents 5986ee34c476
Children 2b3fba3cf555
finch: Fix build and warnings with glib 2.24
--- a/finch/finch.c Mon Jan 27 04:41:33 2014 +0530
+++ b/finch/finch.c Mon Jan 27 04:42:40 2014 +0530
@@ -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"
--- a/finch/libgnt/gntfilesel.c Mon Jan 27 04:41:33 2014 +0530
+++ b/finch/libgnt/gntfilesel.c Mon Jan 27 04:42:40 2014 +0530
@@ -161,7 +161,7 @@
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);