aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-02-20 02:14:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-20 02:14:46 +0800
commit3bea0cc3b298224d1cfa3bd808352fd346987bad (patch)
tree6266ad49b7390ff7a99c197d96d21c7b598743dd /mail/mail-callbacks.c
parentdfe6ecc829d4170b1523465b68fa5f1a2c7108dc (diff)
downloadgsoc2013-evolution-3bea0cc3b298224d1cfa3bd808352fd346987bad.tar
gsoc2013-evolution-3bea0cc3b298224d1cfa3bd808352fd346987bad.tar.gz
gsoc2013-evolution-3bea0cc3b298224d1cfa3bd808352fd346987bad.tar.bz2
gsoc2013-evolution-3bea0cc3b298224d1cfa3bd808352fd346987bad.tar.lz
gsoc2013-evolution-3bea0cc3b298224d1cfa3bd808352fd346987bad.tar.xz
gsoc2013-evolution-3bea0cc3b298224d1cfa3bd808352fd346987bad.tar.zst
gsoc2013-evolution-3bea0cc3b298224d1cfa3bd808352fd346987bad.zip
?
svn path=/trunk/; revision=19948
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 79d58dc079..c8256cdc78 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1971,14 +1971,11 @@ flag_messages (FolderBrowser *fb, guint32 mask, guint32 set)
uids = g_ptr_array_new ();
message_list_foreach (fb->message_list, enumerate_msg, uids);
camel_folder_freeze (fb->folder);
- for (i = 0; i < uids->len; i++) {
+ for (i = 0; i < uids->len; i++)
camel_folder_set_message_flags (fb->folder, uids->pdata[i], mask, set);
- g_free (uids->pdata[i]);
- }
+ camel_folder_free_uids (fb->folder, uids);
camel_folder_thaw (fb->folder);
- g_ptr_array_free (uids, TRUE);
-
return i;
}