aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-11-28 23:53:16 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-11-30 04:15:57 +0800
commit7c407a88e26baa741832cd60772e1e78c8ac055f (patch)
tree27576d57a79df0c1442bc272b7a55ee6f1c6d6c2 /mail
parente607ae83d43972943b138915fb86b244498e8845 (diff)
downloadgsoc2013-evolution-7c407a88e26baa741832cd60772e1e78c8ac055f.tar
gsoc2013-evolution-7c407a88e26baa741832cd60772e1e78c8ac055f.tar.gz
gsoc2013-evolution-7c407a88e26baa741832cd60772e1e78c8ac055f.tar.bz2
gsoc2013-evolution-7c407a88e26baa741832cd60772e1e78c8ac055f.tar.lz
gsoc2013-evolution-7c407a88e26baa741832cd60772e1e78c8ac055f.tar.xz
gsoc2013-evolution-7c407a88e26baa741832cd60772e1e78c8ac055f.tar.zst
gsoc2013-evolution-7c407a88e26baa741832cd60772e1e78c8ac055f.zip
Remove unused arguments in mail_fetch_mail().
The 'fetch_type' and 'fetch_count' arguments are not used.
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-send-recv.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index d524242898..dbdf629110 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -824,8 +824,7 @@ receive_status (CamelFilterDriver *driver,
/* when receive/send is complete */
static void
-receive_done (gint still_more,
- gpointer data)
+receive_done (gpointer data)
{
struct _send_info *info = data;
const gchar *uid;
@@ -908,7 +907,7 @@ receive_done (gint still_more,
static void
send_done (gpointer data)
{
- receive_done (-1, data);
+ receive_done (data);
}
/* although we dont do anythign smart here yet, there is no need for this interface to
* be available to anyone else.
@@ -1087,7 +1086,7 @@ exit:
static void
refresh_folders_done (struct _refresh_folders_msg *m)
{
- receive_done (-1, m->info);
+ receive_done (m->info);
}
static void
@@ -1149,7 +1148,7 @@ receive_update_got_folderinfo (GObject *source_object,
mail_msg_unordered_push (m);
} else {
- receive_done (-1, send_info);
+ receive_done (send_info);
}
}
@@ -1177,7 +1176,7 @@ receive_update_got_store (CamelStore *store,
folder_cache, store, info->cancellable,
receive_update_got_folderinfo, info);
} else {
- receive_done (-1, info);
+ receive_done (info);
}
}
@@ -1265,7 +1264,6 @@ send_receive (GtkWindow *parent,
case SEND_RECEIVE:
mail_fetch_mail (
CAMEL_STORE (info->service),
- CAMEL_FETCH_OLD_MESSAGES, -1,
E_FILTER_SOURCE_INCOMING,
NULL, NULL, NULL,
info->cancellable,
@@ -1364,7 +1362,6 @@ mail_receive_service (CamelService *service)
case SEND_RECEIVE:
mail_fetch_mail (
CAMEL_STORE (service),
- CAMEL_FETCH_OLD_MESSAGES, -1,
E_FILTER_SOURCE_INCOMING,
NULL, NULL, NULL,
info->cancellable,