diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-25 10:43:23 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-25 10:43:23 +0800 |
commit | 8c845a7e3266d7eaf3690529ec343052c187b021 (patch) | |
tree | 3c2e77aadc8ad92f504861e0a9b367a841b33940 | |
parent | 72183d80ecaa52aef8b45e9857d2464ad3e624ca (diff) | |
download | gsoc2013-evolution-8c845a7e3266d7eaf3690529ec343052c187b021.tar gsoc2013-evolution-8c845a7e3266d7eaf3690529ec343052c187b021.tar.gz gsoc2013-evolution-8c845a7e3266d7eaf3690529ec343052c187b021.tar.bz2 gsoc2013-evolution-8c845a7e3266d7eaf3690529ec343052c187b021.tar.lz gsoc2013-evolution-8c845a7e3266d7eaf3690529ec343052c187b021.tar.xz gsoc2013-evolution-8c845a7e3266d7eaf3690529ec343052c187b021.tar.zst gsoc2013-evolution-8c845a7e3266d7eaf3690529ec343052c187b021.zip |
Update for CamelFolder API changes. (delete_message and get_uids don't
* filter-driver.c (do_delete, filter_driver_run): Update for
CamelFolder API changes. (delete_message and get_uids don't take
exceptions any more.)
svn path=/trunk/; revision=4304
-rw-r--r-- | filter/ChangeLog | 6 | ||||
-rw-r--r-- | filter/filter-driver.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index ff4df6b9e8..093a092723 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,9 @@ +2000-07-24 Dan Winship <danw@helixcode.com> + + * filter-driver.c (do_delete, filter_driver_run): Update for + CamelFolder API changes. (delete_message and get_uids don't take + exceptions any more.) + 2000-07-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Updated to reflect changes to diff --git a/filter/filter-driver.c b/filter/filter-driver.c index a6ad9496ba..baca92a6d4 100644 --- a/filter/filter-driver.c +++ b/filter/filter-driver.c @@ -346,7 +346,7 @@ do_delete(struct _ESExp *f, int argc, struct _ESExpResult **argv, FilterDriver * uid = p->matches->pdata[i]; printf(" %s\n", uid); - camel_folder_delete_message (p->source, uid, p->ex); + camel_folder_delete_message (p->source, uid); } return NULL; } @@ -547,7 +547,7 @@ filter_driver_run(FilterDriver *d, CamelFolder *source, CamelFolder *inbox) * the source. If we have an inbox, anything that didn't get * processed otherwise goes there. */ - all = camel_folder_get_uids(p->source, p->ex); + all = camel_folder_get_uids(p->source); for (i = 0; i < all->len; i++) { char *uid = all->pdata[i], *procuid; GList *copies, *tmp; @@ -576,7 +576,7 @@ filter_driver_run(FilterDriver *d, CamelFolder *source, CamelFolder *inbox) gtk_object_unref((GtkObject *)mm); } - camel_folder_delete_message(p->source, uid, p->ex); + camel_folder_delete_message(p->source, uid); } camel_folder_free_uids(p->source, all); |