aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-05-02 10:59:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-02 10:59:01 +0800
commit2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54 (patch)
treebd448a397488f7cc2afd9855f80e5fcb10b24ded /camel/camel-folder.c
parentc65aa11c9bea4c474eef6129d82495de4784cbc5 (diff)
downloadgsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.tar.gz
gsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.tar.zst
gsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.zip
> (camel_folder_expunge): Changed to only allow expunge on an open
> folder. It doesn't make sense for mbox, otherwise (?) svn path=/trunk/; revision=2743
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 446b511221..fdf0817a90 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -995,7 +995,7 @@ void
camel_folder_expunge (CamelFolder *folder, CamelException *ex)
{
g_assert (folder != NULL);
- g_assert (!camel_folder_is_open (folder));
+ g_assert (camel_folder_is_open (folder));
return CF_CLASS (folder)->expunge (folder, ex);
}