aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/templates
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-15 20:19:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-15 20:19:27 +0800
commitf642e03d4967c80aaad45475475752264c95de5c (patch)
tree23b2f4e862f73b86e13f92c433b8315d783b1d2e /plugins/templates
parent2f43685f591581bc7ad051ac6464799f8e5df5bf (diff)
downloadgsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar
gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.gz
gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.bz2
gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.lz
gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.xz
gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.zst
gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.zip
message_list_get_selected: Give the returned array a free func.
The returned UID array now has a built-in "free" function for its elements and should be released by callers with g_ptr_array_unref() rather than em_utils_uids_free() or some equivalent.
Diffstat (limited to 'plugins/templates')
-rw-r--r--plugins/templates/templates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index d83e1fbe17..95d006028e 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -1040,7 +1040,7 @@ action_reply_with_template_cb (GtkAction *action,
g_clear_object (&folder);
- em_utils_uids_free (uids);
+ g_ptr_array_unref (uids);
}
static void