edje: don't forget to reference child image in set.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Jan 2012 18:37:10 +0000 (18:37 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Jan 2012 18:37:10 +0000 (18:37 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@67542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_out.c

index 7649836..f197391 100644 (file)
@@ -1844,11 +1844,18 @@ data_process_lookups(void)
 
                      if ((set->name) && (!strcmp(set->name, image->name)))
                        {
+                           Edje_Image_Directory_Set_Entry *child;
+                           Eina_List *lc;
+
                           handle_slave_lookup(image_slave_lookups, image->dest, set->id);
                           *(image->dest) = set->id;
                           *(image->set) = EINA_TRUE;
                           find = EINA_TRUE;
 
+                          EINA_LIST_FOREACH(set->entries, lc, child)
+                             if (!eina_hash_find(images_in_use, child->name))
+                               eina_hash_direct_add(images_in_use, child->name, child);
+
                            if (!eina_hash_find(images_in_use, image->name))
                              eina_hash_direct_add(images_in_use, set->name, set);
                           break;