diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-29 02:27:46 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-29 02:27:46 +0800 |
commit | dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e (patch) | |
tree | 62b0dcd3f9be942c47bbc6a91365eccceeb68dda /camel/camel-vtrash-folder.c | |
parent | 0dcc55fcc45a13a01c3d0223b81648f2de7e11ec (diff) | |
download | gsoc2013-evolution-dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e.tar gsoc2013-evolution-dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e.tar.gz gsoc2013-evolution-dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e.tar.bz2 gsoc2013-evolution-dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e.tar.lz gsoc2013-evolution-dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e.tar.xz gsoc2013-evolution-dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e.tar.zst gsoc2013-evolution-dd13860c7a9ee912d8fd1ba996a7a1b1bc7bb83e.zip |
Oops, a CamelFolder is not a CamelFolderClass.
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-vtrash-folder.c (vtrash_move_messages_to): Oops, a
CamelFolder is not a CamelFolderClass.
svn path=/trunk/; revision=13217
Diffstat (limited to 'camel/camel-vtrash-folder.c')
-rw-r--r-- | camel/camel-vtrash-folder.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-vtrash-folder.c b/camel/camel-vtrash-folder.c index be662022f6..1e7f7b8f67 100644 --- a/camel/camel-vtrash-folder.c +++ b/camel/camel-vtrash-folder.c @@ -30,6 +30,9 @@ #include <string.h> +/* Returns the class for a CamelFolder */ +#define CF_CLASS(so) CAMEL_FOLDER_CLASS (CAMEL_OBJECT_GET_CLASS(so)) + static CamelVeeFolderClass *camel_vtrash_folder_parent; static void vtrash_append_message (CamelFolder *folder, CamelMimeMessage *message, @@ -121,7 +124,7 @@ vtrash_move_messages_to (CamelFolder *source, GPtrArray *uids, CamelFolder *dest if (dest == mi->folder) { /* Just undelete the original message */ - CAMEL_FOLDER_CLASS (dest)->set_message_flags (dest, uids->pdata[i], CAMEL_MESSAGE_DELETED, 0); + CF_CLASS (dest)->set_message_flags (dest, uids->pdata[i], CAMEL_MESSAGE_DELETED, 0); } else { /* This means that the user is trying to move the message from the vTrash to a folder other than the original. */ |