summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim@samsung.com>2014-10-29 21:04:37 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2014-10-29 21:06:36 +0900
commitdfdc31cae79baa95b0b774935c0d087e1f05fb2a (patch)
tree800894190c7c6a2964ccdb8a2fbb525ae8a807be
parent5954289c6ce1cd55ff212428291604b981438439 (diff)
edje_cc_out: update the id of set images.
Before it removes unused images, it updates ids. For the set images, it should be done. @fix
-rwxr-xr-xsrc/bin/edje/edje_cc_out.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index d503663eed..fceb974b62 100755
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -2587,6 +2587,25 @@ _data_image_id_update(Eina_List *images_unused_list)
2587 } 2587 }
2588 } 2588 }
2589 } 2589 }
2590 for (i = 0; i < edje_file->image_dir->sets_count; i++)
2591 {
2592 Eina_List *entries, *l;
2593 Edje_Image_Directory_Set_Entry *entry;
2594
2595 entries = edje_file->image_dir->sets[i].entries;
2596 EINA_LIST_FOREACH(entries, l, entry)
2597 {
2598 EINA_LIST_FOREACH(images_unused_list, l3, iui)
2599 {
2600 if (entry->id == iui->old_id)
2601 {
2602 entry->id = iui->new_id;
2603 break;
2604 }
2605 }
2606
2607 }
2608 }
2590} 2609}
2591 2610
2592void 2611void