[evolution-data-server/gnome-3-0] CamelVeeFolder: Check for the presence of unmatched folder before accessing full_name, error in prev
- From: Chenthill Palanisamy <pchen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-0] CamelVeeFolder: Check for the presence of unmatched folder before accessing full_name, error in prev
- Date: Tue, 7 Jun 2011 12:55:57 +0000 (UTC)
commit 60cca78af9a9c3cf27c60f02b7bec59bd23660ba
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Tue Jun 7 18:20:35 2011 +0530
CamelVeeFolder: Check for the presence of unmatched folder before
accessing full_name, error in previous commit.
camel/camel-vee-folder.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c
index 41cfeee..d15f30f 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -559,7 +559,9 @@ folder_changed_change (CamelSession *session, CamelSessionThreadMsg *msg)
parent_store = camel_folder_get_parent_store (folder);
full_name = camel_folder_get_full_name (folder);
- unm_full_name = camel_folder_get_full_name (CAMEL_FOLDER (folder_unmatched));
+
+ if (folder_unmatched)
+ unm_full_name = camel_folder_get_full_name (CAMEL_FOLDER (folder_unmatched));
camel_db_begin_transaction (parent_store->cdb_w, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]