edje_cc: fix SIGNAL_EMIT action inheritance error 73/87273/4
authorJee-Yong Um <jc9.um@samsung.com>
Tue, 31 May 2016 23:46:36 +0000 (16:46 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 8 Sep 2016 00:15:49 +0000 (17:15 -0700)
Summary:
When edje group inherits edje program whose action type is SIGNAL_EMIT
with target, unnecessary parse error occurs.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3982

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I657da960e1d8ccd69dcf758a8dad39698cdcc2f0

src/bin/edje/edje_cc_handlers.c

index bacdcc0..3756cb6 100644 (file)
@@ -1696,6 +1696,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
         switch (ep2->action)
           {
            case EDJE_ACTION_TYPE_STATE_SET:
+           case EDJE_ACTION_TYPE_SIGNAL_EMIT:
            case EDJE_ACTION_TYPE_DRAG_VAL_SET:
            case EDJE_ACTION_TYPE_DRAG_VAL_STEP:
            case EDJE_ACTION_TYPE_DRAG_VAL_PAGE: