aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-24 08:01:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-24 08:01:51 +0800
commite95a407f3c2fcb066cd02a2bc45ea05a6890713f (patch)
tree7fb0f4654ce6a16cad9ae1ce758c56017dc85b5f /camel/camel-folder.c
parent2c8b221e77ecccc5070076ea17da2dd0b4ba94c1 (diff)
downloadgsoc2013-evolution-e95a407f3c2fcb066cd02a2bc45ea05a6890713f.tar.gz
gsoc2013-evolution-e95a407f3c2fcb066cd02a2bc45ea05a6890713f.tar.zst
gsoc2013-evolution-e95a407f3c2fcb066cd02a2bc45ea05a6890713f.zip
New class that can be used to browse a multipart/digest message as if it
2001-04-23 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-folder.[c,h]: New class that can be used to browse a multipart/digest message as if it were a CamelFolder. svn path=/trunk/; revision=9530
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 310bd084aa..671fe75142 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -236,7 +236,8 @@ camel_folder_construct (CamelFolder *folder, CamelStore *parent_store,
g_return_if_fail (folder->name == NULL);
folder->parent_store = parent_store;
- camel_object_ref (CAMEL_OBJECT (parent_store));
+ if (parent_store)
+ camel_object_ref (CAMEL_OBJECT (parent_store));
folder->name = g_strdup (name);
folder->full_name = g_strdup (full_name);