aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index a6de2ae1cd..a9c183b3a1 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -266,6 +266,12 @@ real_fetch_mail( gpointer user_data )
camel_exception_free (ex);
}
+static void
+fetch_mail_cleanup (gpointer user_data)
+{
+ /* nothing */
+}
+
/* FIXME: This is BROKEN! It fetches mail into whatever folder you're
* currently viewing.
*/
@@ -299,7 +305,7 @@ fetch_mail (GtkWidget *button, gpointer user_data)
info = g_new( rfm_t, 1 );
info->fb = FOLDER_BROWSER( user_data );
info->source_url = url;
- mail_operation_try( _("Fetching mail"), real_fetch_mail, info );
+ mail_operation_try( _("Fetching mail"), real_fetch_mail, fetch_mail_cleanup, info );
}