summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-19 11:56:17 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-19 14:05:56 -0700
commit61a1a59b5cd4c293bc67fea6d81af37f652207a3 (patch)
treef15eab4bc4c6a67e06ade58cb7f30fefa4618c6d
parent5dbcffbcf9e54cfe46a506cf1090e016a2b35494 (diff)
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-xsrc/bin/edje/edje_cc_out.c7
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 f96e2f3223..5cb4ec17b5 100755
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -431,16 +431,9 @@ static void
431check_packed_items(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef) 431check_packed_items(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef)
432{ 432{
433 unsigned int i; 433 unsigned int i;
434 char *def_name;
435 434
436 for (i = 0; i < ep->items_count; ++i) 435 for (i = 0; i < ep->items_count; ++i)
437 { 436 {
438 if (!ep->items[i]->name)
439 {
440 def_name = alloca(strlen("item_") + strlen("0xFFFFFFFFFFFFFFFF") + 1);
441 sprintf(def_name, "item_%p", def_name);
442 ep->items[i]->name = strdup(def_name);
443 }
444 if (ep->items[i]->type == EDJE_PART_TYPE_GROUP && !ep->items[i]->source) 437 if (ep->items[i]->type == EDJE_PART_TYPE_GROUP && !ep->items[i]->source)
445 error_and_abort(ef, "Collection %i: missing source on packed item " 438 error_and_abort(ef, "Collection %i: missing source on packed item "
446 "of type GROUP in part \"%s\"", 439 "of type GROUP in part \"%s\"",