elm_conform: prevent calling elm_layout_sizing_eval for elm_conform 13/223913/3
authorYeongjong Lee <yj34.lee@samsung.com>
Wed, 5 Feb 2020 04:15:59 +0000 (13:15 +0900)
committerYeongJong Lee <yj34.lee@samsung.com>
Wed, 5 Feb 2020 10:06:11 +0000 (10:06 +0000)
since commit 8913869f3984b852f83750fb6fa43ae6bf4c688d, `elm_layout_sizing_eval`
haven't worked for elm_conformant.

This patch will fix following error log
```
/EFL ( 3158): eo<3158> ../src/lib/eo/eo.c:579 _efl_object_call_resolve() in ../src/lib/elementary/efl_ui_layout_legacy_eo.c:37: func 'elm_layout_sizing_eval' (1692) could not be resolved for class 'Elm.Conformant'.
```

@tizen_fix

Change-Id: Iaeb23d790c05a309507bc39c104777a7efbfdd01

src/lib/elementary/elm_conform.c

index 0668e1d..57a14f8 100644 (file)
@@ -1165,7 +1165,8 @@ _elm_conformant_efl_ui_widget_theme_apply(Eo *obj, Elm_Conformant_Data *_pd EINA
 
    _conformant_parts_swallow(obj);
 
-   elm_layout_sizing_eval(obj);
+   //TIZEN_ONLY(20200205): prevent calling elm_layout_sizing_eval for elm_conform
+   //elm_layout_sizing_eval(obj);
 
    return int_ret;
 }
@@ -1579,7 +1580,8 @@ _elm_conformant_efl_canvas_group_group_add(Eo *obj, Elm_Conformant_Data *_pd EIN
    evas_object_event_callback_add
      (obj, EVAS_CALLBACK_MOVE, _move_resize_cb, obj);
 
-   elm_layout_sizing_eval(obj);
+   //TIZEN_ONLY(20200205): prevent calling elm_layout_sizing_eval for elm_conform
+   //elm_layout_sizing_eval(obj);
 }
 
 EOLIAN static void