hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=b15117a5270a414339bc0185c24441c800d68c1d

commit b15117a5270a414339bc0185c24441c800d68c1d
Author: Hermet Park <chuneon.p...@samsung.com>
Date:   Thu Nov 4 16:27:57 2021 +0900

    replaced with the compatible focus apis.
    
    ex-apis are not defined anymore.
---
 src/bin/file_mgr.c | 2 +-
 src/bin/main.c     | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/file_mgr.c b/src/bin/file_mgr.c
index aee826b..39d1506 100644
--- a/src/bin/file_mgr.c
+++ b/src/bin/file_mgr.c
@@ -28,7 +28,7 @@ warning_dismiss_done(void *data, Evas_Object *obj EINA_UNUSED,
 {
    file_mgr_data *fmd = data;
    evas_object_del(fmd->warning_layout);
-   efl_ui_focus_object_focus_set(base_enventor_get(), EINA_TRUE);
+   enventor_object_focus_set(base_enventor_get(), EINA_TRUE);
    fmd->warning_layout = NULL;
 }
 
diff --git a/src/bin/main.c b/src/bin/main.c
index 9fb0705..1cda82b 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -561,7 +561,7 @@ enventor_ctxpopup_dismissed_cb(void *data EINA_UNUSED, 
Enventor_Object *obj,
                                void *event_info EINA_UNUSED)
 {
    if (menu_activated_get() > 0)
-     efl_ui_focus_object_focus_set(obj, EINA_FALSE);
+     enventor_object_focus_set(obj, EINA_FALSE);
 }
 
 static void
@@ -751,7 +751,7 @@ keygrabber_key_down_cb(void *data EINA_UNUSED, Evas *e 
EINA_UNUSED,
 
         if (live_edit_cancel(EINA_TRUE))
           {
-             efl_ui_focus_object_focus_set(base_enventor_get(), EINA_TRUE);
+             enventor_object_focus_set(base_enventor_get(), EINA_TRUE);
              return;
           }
         if (file_mgr_warning_is_opened())
@@ -1127,7 +1127,7 @@ init(app_data *ad, int argc, char **argv)
    base_gui_show();
 
    //Guarantee Enventor editor has focus.
-   efl_ui_focus_object_focus_set(enventor, EINA_TRUE);
+   enventor_object_focus_set(enventor, EINA_TRUE);
 
    menu_init();
 

-- 


Reply via email to