edje_cc: fix group inheriting with scripts. (group.script and .program.script)
authorVorobiov Vitalii <vi.vorobiov@samsung.com>
Tue, 1 Apr 2014 10:09:32 +0000 (19:09 +0900)
committerCedric BAIL <cedric.bail@free.fr>
Tue, 1 Apr 2014 13:00:13 +0000 (22:00 +0900)
commit85f8661f456df2460aa9a2715023388a82e43e3c
tree83b91d0514282535ca0b96b2bf57e0ee8f5a29d9
parentab3eb4b2d350d017eab6683202663244e11aa518
edje_cc: fix group inheriting with scripts. (group.script and .program.script)

After doing some edje_edit manipulations there was a problem that
after edje_decc of changed EDJ file it wasnt able to compile again, because some of scripts
weren't inherited.
The problem was in Code and Code_Script structure.
There is "shared" ("script") field and "original" field that contained a string with embryo script code.
After inheriting whole group, "original" field wasn't copied, so it wasn't able to write
the script into resulted EDJ file (look at edje_cc_out:1407).
@fix

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D671

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
src/bin/edje/edje_cc_handlers.c