Edje: Fix filters for IMAGE parts inherited states
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 18 Aug 2015 12:07:53 +0000 (21:07 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 1 Oct 2015 11:10:54 +0000 (20:10 +0900)
src/bin/edje/edje_cc_handlers.c

index 5a56fb2..18adacb 100644 (file)
@@ -7089,6 +7089,18 @@ st_collections_group_parts_part_description_inherit(void)
                    ied->image.tweens[i] = iid_new;
                 }
 
+              /* Filters stuff */
+              ied->filter.code = STRDUP(ied->filter.code);
+              if (ied->filter.code)
+                {
+                   Eina_List *list, *l;
+                   const char *name;
+                   list = ied->filter.sources;
+                   ied->filter.sources = NULL;
+                   EINA_LIST_FOREACH(list, l, name)
+                     ied->filter.sources = eina_list_append(ied->filter.sources, STRDUP(name));
+                }
+
               break;
            }
       case EDJE_PART_TYPE_PROXY: