summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-05-20 16:22:48 +0100
committerTom Hacohen <tom@stosb.com>2016-05-20 16:24:06 +0100
commit6dcc2e6cc4adfcc9ef1a14e2d375358fd8d12abc (patch)
tree153b15895c5a9dfe3b80715f6bc71eb0caa10bc9
parentb7ef3bcf0de54028ad142641f5a36c0abaacf96d (diff)
Edje cc out: Make list removal slightly more efficient.
-rw-r--r--src/bin/edje/edje_cc_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index e5b1f9e3f0..f55b56fdff 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -2958,7 +2958,7 @@ copied_program_anonymous_lookup_delete(Edje_Part_Collection *pc, int *dest)
2958 { 2958 {
2959 if (pl->dest == &cp->id) 2959 if (pl->dest == &cp->id)
2960 { 2960 {
2961 cd->programs = eina_list_remove(cd->programs, cp); 2961 cd->programs = eina_list_remove_list(cd->programs, l2);
2962 free(cp); 2962 free(cp);
2963 break; 2963 break;
2964 } 2964 }