aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-14 11:57:38 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-14 11:57:38 +0800
commit4a30b4362ec6f0c0596687dce3df0025faae9e3d (patch)
treee6118bfb2964dcc28175de67ffc8ef699f0b8f9f
parent058c51d4f75dc786e79649d2543c0ce6369b1b75 (diff)
downloadgsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar
gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar.gz
gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar.bz2
gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar.lz
gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar.xz
gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.tar.zst
gsoc2013-evolution-4a30b4362ec6f0c0596687dce3df0025faae9e3d.zip
Fix for #325965
svn path=/trunk/; revision=33527
-rw-r--r--plugins/mark-all-read/ChangeLog6
-rw-r--r--plugins/mark-all-read/mark-all-read.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/mark-all-read/ChangeLog b/plugins/mark-all-read/ChangeLog
index b9fa48bbde..5b26b39b42 100644
--- a/plugins/mark-all-read/ChangeLog
+++ b/plugins/mark-all-read/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #325965 from Ilkka Tuohela
+
+ * mark-all-read.c: (mar_got_folder):
+
2007-04-02 Sankar P <psankar@novell.com>
* Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr>
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;