From 4cabd2c2479538ddeaddc03588e30de906576a3b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 26 Aug 2011 14:56:12 +0200 Subject: [mail-to-task] Uses incorrect function to free array of message uids --- plugins/mail-to-task/mail-to-task.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') 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); -- cgit