From c512652e700285bf48da71c3df1e5d53fcbe890e Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 4 Jun 2012 02:58:08 +0000 Subject: [PATCH] elementary: Don't try to restore table part that the job of Edje. NOTE: wondering if all that code shouldn't just be removed. SVN revision: 71675 --- legacy/elementary/src/lib/elm_layout.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/legacy/elementary/src/lib/elm_layout.c b/legacy/elementary/src/lib/elm_layout.c index 6abb4e7e57..c7d5868947 100644 --- a/legacy/elementary/src/lib/elm_layout.c +++ b/legacy/elementary/src/lib/elm_layout.c @@ -226,24 +226,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) { @@ -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);