discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a73a18b01de7ca5944330b563748f3162c22d60a

commit a73a18b01de7ca5944330b563748f3162c22d60a
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Mar 10 15:54:34 2017 -0500

    Revert "evas_table: abort when there is already the option struct"
    
    This reverts commit 008711b3b0f0b33e47e6b2fae7f925a0a9fb76ee.
    
    this breaks elm_table_pack_set() as well as other valid usage and is
    not a valid change to the code
---
 src/lib/evas/canvas/evas_object_table.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_table.c 
b/src/lib/evas/canvas/evas_object_table.c
index ca615e6..5eea6f9 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -1143,11 +1143,6 @@ _evas_table_pack(Eo *o, Evas_Table_Data *priv, 
Evas_Object *child, unsigned shor
           }
         optalloc = EINA_TRUE;
      }
-   else
-     {
-        ERR("%p is already added to a table", child);
-        return EINA_FALSE;
-     }
 
    opt->obj = child;
    opt->col = col;

-- 


Reply via email to