nautilus-sendto r411 - in trunk: . pidgin_plugin
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus-sendto r411 - in trunk: . pidgin_plugin
- Date: Thu, 5 Mar 2009 00:42:57 +0000 (UTC)
Author: hadess
Date: Thu Mar 5 00:42:57 2009
New Revision: 411
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=411&view=rev
Log:
2009-03-05 Bastien Nocera <hadess hadess net>
* pidgin_plugin/nautilus-sendto-plugin.c (save_online_buddies),
(send_file), (take_spool_files): Fix a few warnings
Modified:
trunk/ChangeLog
trunk/pidgin_plugin/nautilus-sendto-plugin.c
Modified: trunk/pidgin_plugin/nautilus-sendto-plugin.c
==============================================================================
--- trunk/pidgin_plugin/nautilus-sendto-plugin.c (original)
+++ trunk/pidgin_plugin/nautilus-sendto-plugin.c Thu Mar 5 00:42:57 2009
@@ -31,6 +31,7 @@
#endif
#include <glib.h>
+#include <glib/gstdio.h>
#include <glib/gi18n.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -105,7 +106,6 @@
PurpleBuddyList *blist;
GString *str;
gchar *fd_name;
- FILE *fd;
fd_name = g_build_path ("/", g_get_home_dir(), PLUGIN_HOME,
B_ONLINE, NULL);
@@ -166,7 +166,6 @@
GString *protocol, GString *file){
PurpleAccount *account;
- PurpleXfer *xfer;
account = purple_accounts_find (username->str, protocol->str);
if (account == NULL)
@@ -234,7 +233,7 @@
if (dir == NULL){
purple_debug_info ("nautilus","Can't open the spool dir\n");
}else{
- while (ep = readdir(dir)){
+ while ((ep = readdir(dir)) > 0){
gchar *file;
if ((strcmp (ep->d_name,".")==0) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]