aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/mail-ops.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 94c29b3e39..1f4bc69bba 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,7 +1,7 @@
2000-07-13 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_fetch_mail): Back to the old way to avoid
- g_warnings, yay
+ g_warnings, yay. Also fix append to send a flags argument (0)
2000-07-12 Chris Toshok <toshok@helixcode.com>
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index f74c33c152..ece3fe493d 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -255,7 +255,8 @@ real_fetch_mail (gpointer user_data)
goto cleanup;
}
- camel_folder_append_message (folder, msg, ex);
+ /* append with flags = 0 since this is a new message */
+ camel_folder_append_message (folder, msg, 0, ex);
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) {
async_mail_exception_dialog ("Unable to write message", ex, fb);
gtk_object_unref (GTK_OBJECT (msg));