elementary: Don't try to restore table part that the job of Edje.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 4 Jun 2012 02:58:08 +0000 (02:58 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 4 Jun 2012 02:58:08 +0000 (02:58 +0000)
NOTE: wondering if all that code shouldn't just be removed.

SVN revision: 71675

src/lib/elm_layout.c

index 6abb4e7..c7d5868 100644 (file)
@@ -227,24 +227,6 @@ _parts_text_fix(Elm_Layout_Smart_Data *sd)
 }
 
 static void
-_parts_table_fix(Elm_Layout_Smart_Data *sd)
-{
-   const Eina_List *l;
-   Elm_Layout_Sub_Object_Data *sub_d;
-
-   EINA_LIST_FOREACH (sd->subs, l, sub_d)
-     {
-        if (sub_d->type == TABLE_PACK)
-          {
-             edje_object_part_table_pack
-               (ELM_WIDGET_DATA(sd)->resize_obj, sub_d->part, sub_d->obj,
-                sub_d->p.table.col, sub_d->p.table.row,
-                sub_d->p.table.colspan, sub_d->p.table.rowspan);
-          }
-     }
-}
-
-static void
 _part_cursor_part_apply(const Elm_Layout_Sub_Object_Cursor *pc)
 {
    elm_object_cursor_set(pc->obj, pc->cursor);
@@ -304,7 +286,6 @@ static void
 _visuals_refresh(Evas_Object *obj,
                  Elm_Layout_Smart_Data *sd)
 {
-   _parts_table_fix(sd);
    _parts_text_fix(sd);
    _parts_signals_emit(sd);
    _parts_cursors_apply(sd);