projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5954289
)
edje_cc_out: update the id of set images.
author
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 29 Oct 2014 12:04:37 +0000
(21:04 +0900)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 29 Oct 2014 12:06:36 +0000
(21:06 +0900)
Before it removes unused images, it updates ids.
For the set images, it should be done.
@fix
src/bin/edje/edje_cc_out.c
patch
|
blob
|
history
diff --git
a/src/bin/edje/edje_cc_out.c
b/src/bin/edje/edje_cc_out.c
index
d503663
..
fceb974
100755
(executable)
--- 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)
}
}
}
+ for (i = 0; i < edje_file->image_dir->sets_count; i++)
+ {
+ Eina_List *entries, *l;
+ Edje_Image_Directory_Set_Entry *entry;
+
+ entries = edje_file->image_dir->sets[i].entries;
+ EINA_LIST_FOREACH(entries, l, entry)
+ {
+ EINA_LIST_FOREACH(images_unused_list, l3, iui)
+ {
+ if (entry->id == iui->old_id)
+ {
+ entry->id = iui->new_id;
+ break;
+ }
+ }
+
+ }
+ }
}
void