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
This commit is contained in:
committed by
Jeffrey Stedfast
parent
0dcc55fcc4
commit
dd13860c7a
@ -1,3 +1,8 @@
|
||||
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* camel-vtrash-folder.c (vtrash_move_messages_to): Oops, a
|
||||
CamelFolder is not a CamelFolderClass.
|
||||
|
||||
2001-09-28 Dan Winship <danw@ximian.com>
|
||||
|
||||
* camel-tcp-stream-openssl.c (ssl_error_to_errno): Make this take
|
||||
@ -24,8 +29,8 @@
|
||||
* camel-service.c (camel_service_connect): Dont re-register the
|
||||
connect_op if we got it by calling 'operation_registered', which
|
||||
returns an already-registered one.
|
||||
(camel_service_disconnect): Likewise here.
|
||||
This removes all the re-registered warnings.
|
||||
(camel_service_disconnect): Likewise here. This removes all the
|
||||
re-registered warnings.
|
||||
|
||||
* camel-object.c (camel_object_unref): Fill the finalised data
|
||||
with nonsense, rather than 0's - more easily detect bad data.
|
||||
|
||||
@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user