aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-26 20:56:12 +0800
committerMilan Crha <mcrha@redhat.com>2011-08-26 20:56:12 +0800
commit4cabd2c2479538ddeaddc03588e30de906576a3b (patch)
treed0fdc6671ec7689dc033c160aa09e8f9b299c422
parentdf385fa05b527bbc72392e33f2f4786393702d3e (diff)
downloadgsoc2013-evolution-4cabd2c2479538ddeaddc03588e30de906576a3b.tar
gsoc2013-evolution-4cabd2c2479538ddeaddc03588e30de906576a3b.tar.gz
gsoc2013-evolution-4cabd2c2479538ddeaddc03588e30de906576a3b.tar.bz2
gsoc2013-evolution-4cabd2c2479538ddeaddc03588e30de906576a3b.tar.lz
gsoc2013-evolution-4cabd2c2479538ddeaddc03588e30de906576a3b.tar.xz
gsoc2013-evolution-4cabd2c2479538ddeaddc03588e30de906576a3b.tar.zst
gsoc2013-evolution-4cabd2c2479538ddeaddc03588e30de906576a3b.zip
[mail-to-task] Uses incorrect function to free array of message uids
-rw-r--r--plugins/mail-to-task/mail-to-task.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index a39456a00f..61eb5fb2f3 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -983,7 +983,7 @@ do_mail_to_event (AsyncData *data)
/* free memory */
g_object_unref (data->client);
- camel_folder_free_uids (folder, uids);
+ em_utils_uids_free (uids);
g_object_unref (folder);
g_free (data->selected_text);
g_free (data);
@@ -1066,7 +1066,7 @@ mail_to_event (ECalClientSourceType source_type,
e_notice (NULL, GTK_MESSAGE_ERROR, _("Cannot get source list. %s"), error ? error->message : _("Unknown error."));
if (error)
g_error_free (error);
- camel_folder_free_uids (folder, uids);
+ em_utils_uids_free (uids);
g_object_unref (folder);
return;
}
@@ -1077,7 +1077,7 @@ mail_to_event (ECalClientSourceType source_type,
if (do_ask (question, FALSE) == GTK_RESPONSE_NO) {
g_free (question);
g_object_unref (source_list);
- camel_folder_free_uids (folder, uids);
+ em_utils_uids_free (uids);
g_object_unref (folder);
return;
}
@@ -1127,7 +1127,7 @@ mail_to_event (ECalClientSourceType source_type,
e_notice (NULL, GTK_MESSAGE_ERROR, _("No writable calendar is available."));
g_object_unref (source_list);
- camel_folder_free_uids (folder, uids);
+ em_utils_uids_free (uids);
g_object_unref (folder);
if (error)
g_error_free (error);
@@ -1149,7 +1149,7 @@ mail_to_event (ECalClientSourceType source_type,
g_free (uri);
g_object_unref (source_list);
- camel_folder_free_uids (folder, uids);
+ em_utils_uids_free (uids);
g_object_unref (folder);
if (error)
g_error_free (error);