diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-05-14 11:57:38 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-05-14 11:57:38 +0800 |
commit | 4a30b4362ec6f0c0596687dce3df0025faae9e3d (patch) | |
tree | e6118bfb2964dcc28175de67ffc8ef699f0b8f9f /plugins/mark-all-read/mark-all-read.c | |
parent | 058c51d4f75dc786e79649d2543c0ce6369b1b75 (diff) | |
download | gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar.gz gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar.zst gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.zip |
Fix for #325965
svn path=/trunk/; revision=33527
Diffstat (limited to 'plugins/mark-all-read/mark-all-read.c')
-rw-r--r-- | plugins/mark-all-read/mark-all-read.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mark-all-read/mark-all-read.c b/plugins/mark-all-read/mark-all-read.c index 872a3565e4..0d8760f537 100644 --- a/plugins/mark-all-read/mark-all-read.c +++ b/plugins/mark-all-read/mark-all-read.c @@ -71,13 +71,14 @@ mar_got_folder (char *uri, CamelFolder *folder, void *data) guint32 flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE | CAMEL_STORE_FOLDER_INFO_FAST; camel_exception_init (&ex); - store = folder->parent_store; - info = camel_store_get_folder_info (store, folder->full_name, flags, &ex); /* FIXME we have to disable the menu item */ if (!folder) return; + store = folder->parent_store; + info = camel_store_get_folder_info (store, folder->full_name, flags, &ex); + if (camel_exception_is_set (&ex)) { camel_exception_clear (&ex); return; |