X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-mail-operation.c;h=bd6bc9ccb073d32d37c2d4aad9fc48e303634f85;hb=977c5c9bbc9fe5ee538c1887b0a40c7583f11fd4;hp=8c23dd6d104b2d0e0412c55c1e584707950373ed;hpb=5be19f3d421a5531ac9344971a31e381364bf049;p=modest diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 8c23dd6..bd6bc9c 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -562,8 +562,8 @@ modest_mail_operation_update_account (ModestMailOperation *mail_op, TnyList *folders; TnyFolderStoreQuery *query; - g_return_if_fail (MODEST_IS_MAIL_OPERATION (mail_op)); - g_return_if_fail (TNY_IS_STORE_ACCOUNT(store_account)); + g_return_val_if_fail (MODEST_IS_MAIL_OPERATION (mail_op), FALSE); + g_return_val_if_fail (TNY_IS_STORE_ACCOUNT(store_account), FALSE); priv = MODEST_MAIL_OPERATION_GET_PRIVATE(mail_op); @@ -808,6 +808,9 @@ modest_mail_operation_xfer_folder (ModestMailOperation *mail_op, g_object_unref (G_OBJECT (iter)); } + +/* FIXME: this method should be rewritten when the policy for the + Trash folder becomes clearer */ static TnyFolder * modest_mail_operation_find_trash_folder (ModestMailOperation *mail_op, TnyStoreAccount *store_account)