diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-06-23 05:42:24 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-06-23 05:42:24 +0800 |
commit | c422e1f7422eb787fa7ee6b6e43656451280c4dd (patch) | |
tree | 30aa0b707058a53994b1d12f339906852001301b | |
parent | 8e54fc772c7e30ccb943ccdb57ffb02099bd29ae (diff) | |
download | gsoc2013-evolution-c422e1f7422eb787fa7ee6b6e43656451280c4dd.tar.gz gsoc2013-evolution-c422e1f7422eb787fa7ee6b6e43656451280c4dd.tar.zst gsoc2013-evolution-c422e1f7422eb787fa7ee6b6e43656451280c4dd.zip |
new function, passed as arg to mail_operation_try. (fetch_mail): add
2000-06-22 Chris Toshok <toshok@helixcode.com>
* mail-ops.c (fetch_mail_cleanup): new function, passed as arg to
mail_operation_try.
(fetch_mail): add cleanup func arg.
svn path=/trunk/; revision=3698
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-ops.c | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index e8c0461cb0..08f7ed9499 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2000-06-22 Chris Toshok <toshok@helixcode.com> + + * mail-ops.c (fetch_mail_cleanup): new function, passed as arg to + mail_operation_try. + (fetch_mail): add cleanup func arg. + 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed ml_value_at to return "" instead of NULL 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 ); } |