Change elm_exit to ui_app_exit
[platform/core/uifw/inputdelegator.git] / src / w-input-selector.cpp
index b79534b..010d98b 100755 (executable)
@@ -152,7 +152,7 @@ void init_customizing_theme(void)
 static Eina_Bool back_cb(void *data, Elm_Object_Item *it)
 {
        reply_to_sender_by_callback_for_back();
-       elm_exit();
+       ui_app_exit();
        return EINA_FALSE;
 }
 
@@ -210,7 +210,7 @@ static void __ise_template_gl_sel(void *data, Evas_Object *obj, void *event_info
 
                if (index < (int)template_list.size()) {
                        reply_to_sender_by_callback(gettext(template_list[index].text.c_str()), "template");
-                       elm_exit();
+                       ui_app_exit();
                }
        }
 }
@@ -576,7 +576,7 @@ void _back_to_genlist_for_selector()
        if (app_data->app_type == APP_TYPE_STT || app_data->app_type == APP_TYPE_EMOTICON || app_data->app_type == APP_TYPE_KEYBOARD){
                PRINTFUNC(DLOG_DEBUG, "launched as STT/EMOTICON/KEYBOARD mode, So exit here.");
                reply_to_sender_by_callback(NULL, NULL);
-               elm_exit();
+               ui_app_exit();
        }
 }