[evolution-data-server] 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] CamelVeeFolder: Check for the presence of unmatched folder before accessing full_name, error in prev
- Date: Tue, 7 Jun 2011 12:54:39 +0000 (UTC)
commit a38624e510140a5223d881e5c33f9e8de465daa2
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 deec1ae..621add8 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -572,7 +572,9 @@ folder_changed_change (CamelSession *session,
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]