diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2016-04-19 11:56:17 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-04-19 14:04:31 -0700 |
commit | 9e7acfc6974416b67b13c53d0e78cb39fc3b1764 (patch) | |
tree | 57a0477f042d3138128e03fdbbf591b1dcee83a5 | |
parent | 739322e40a89e032d89f643041b4b2b19734fc29 (diff) | |
download | efl-9e7acfc6974416b67b13c53d0e78cb39fc3b1764.tar.gz |
Revert "Set the name for table, box items"
This reverts commit 6f7608befd006f8076d237bee5d17c9e9e1e09ac.
Item in table and box do not need names as they have an index. This
is breaking ABI for edje application that rely on getting the index
properly when a signal is emitted. To be precise, this did break
elemines.
-rwxr-xr-x | src/bin/edje/edje_cc_out.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index bc8544480c..05954b1782 100755 --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -418,16 +418,9 @@ static void check_packed_items(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef) { unsigned int i; - char *def_name; for (i = 0; i < ep->items_count; ++i) { - if (!ep->items[i]->name) - { - def_name = alloca(strlen("item_") + strlen("0xFFFFFFFFFFFFFFFF") + 1); - sprintf(def_name, "item_%p", def_name); - ep->items[i]->name = strdup(def_name); - } if (ep->items[i]->type == EDJE_PART_TYPE_GROUP && !ep->items[i]->source) error_and_abort(ef, "Collection %i: missing source on packed item " "of type GROUP in part \"%s\"", |