From: Carsten Haitzler (Rasterman) Date: Sat, 6 Aug 2016 10:10:24 +0000 (+0900) Subject: edje_cc - fix inheritance of programs and store channel too in copy X-Git-Tag: upstream/1.20.0~4898 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a71f0ed24bc7ff41234edc353e69b04af2caec12;p=platform%2Fupstream%2Fefl.git edje_cc - fix inheritance of programs and store channel too in copy this fixes programs that inherit and play audio on specific channels. i found that sound worked on single line entries but not multipline beause single line inherit from multi but didnt copy this program param - the channel number. this fixes this @fix --- diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index de5b138..e8cc12e 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -2048,6 +2048,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2) ep->tone_name = STRDUP(ep2->tone_name); ep->duration = ep2->duration; ep->speed = ep2->speed; + ep->channel = ep2->channel; EINA_LIST_FOREACH(ep2->targets, l, et2) {