Revert "efl_ui_widget: reorder constructor code to fix event callback registration... 98/214198/2
authorYeongjong Lee <yj34.lee@samsung.com>
Thu, 19 Sep 2019 04:36:10 +0000 (13:36 +0900)
committerYeongJong Lee <yj34.lee@samsung.com>
Thu, 19 Sep 2019 09:25:58 +0000 (09:25 +0000)
The issue has been fixed on c7837260936a02cac6357c62b73ce7a7e8dcad59.

This reverts commit 6844f8731f47197f3906f02c080c69caaf3ada9f.

Change-Id: Idea67c4cf9aa79bf3cd1459958cf96711e0e1c40

src/lib/elementary/efl_ui_widget.c

index 0d3d684..e131af1 100644 (file)
@@ -5620,15 +5620,6 @@ _efl_ui_widget_efl_object_constructor(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UN
    sd->on_create = EINA_TRUE;
 
    sd->window = efl_provider_find(efl_parent_get(obj), EFL_UI_WIN_CLASS);
-   // TIZEN_ONLY(20190904) FIXME : efl_ui_widget : reorder constructor code to
-   // fix event callback registration issue
-   _efl_ui_focus_event_redirector(obj, obj);
-   efl_canvas_group_clipped_set(obj, EINA_FALSE);
-   obj = efl_constructor(efl_super(obj, MY_CLASS));
-   efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
-   evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
-   //
-
    if (!efl_isa(obj, EFL_UI_WIN_CLASS))
      {
         Eo *parent = efl_parent_get(obj);
@@ -5650,14 +5641,11 @@ _efl_ui_widget_efl_object_constructor(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UN
         sd->shared_win_data = efl_ui_win_shared_data_get(obj);
      }
 
-   /* TIZEN_ONLY(20190904) FIXME : efl_ui_widget : reorder constructor code to
-      fix event callback registration issue
    _efl_ui_focus_event_redirector(obj, obj);
    efl_canvas_group_clipped_set(obj, EINA_FALSE);
    obj = efl_constructor(efl_super(obj, MY_CLASS));
    efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
    evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
-   */
 
    sd->on_create = EINA_FALSE;