diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2000-05-02 10:59:01 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-02 10:59:01 +0800 |
commit | 2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54 (patch) | |
tree | bd448a397488f7cc2afd9855f80e5fcb10b24ded | |
parent | c65aa11c9bea4c474eef6129d82495de4784cbc5 (diff) | |
download | gsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.tar gsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.tar.gz gsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.tar.bz2 gsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.tar.lz gsoc2013-evolution-2cc9dabf78074ba6dfa4f3c84285b607fdf8cc54.tar.xz 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
-rw-r--r-- | camel/ChangeLog | 2 | ||||
-rw-r--r-- | camel/camel-folder.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 96aae92593..0eac71a00a 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -41,6 +41,8 @@ anymore (this wouldn't failed anyway, it was a GList !!!) (camel_folder_search_complete): Removed. (camel_folder_search_cancel): Removed. + (camel_folder_expunge): Changed to only allow expunge on an open + folder. It doesn't make sense for mbox, otherwise (?) * camel-folder.h (struct _CamelFolder): Change permanent_flags to a bitfield. 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); } |