Use public API to sent language event 12/193112/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 14 Nov 2018 22:46:23 +0000 (07:46 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 14 Nov 2018 22:46:23 +0000 (07:46 +0900)
Change-Id: I17d43ffcb24b24b2e4d313ac99b4f806b6227938
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/sdk/sdk.cpp

index aeaa83a..6257b69 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <sclui.h>
 #include <iconv.h>
+#include <inputmethod.h>
 #include <inputmethod_internal.h>
 
 #include "ise.h"
@@ -458,7 +459,7 @@ sclboolean CSDKISE::on_language_selected(const sclchar *language, const sclchar
     }
 
     if (ret) {
-        ime_update_input_context(ECORE_IMF_INPUT_PANEL_LANGUAGE_EVENT, 0);
+        ime_update_input_panel_event(IME_EVENT_TYPE_LANGUAGE, 0);
     }
 
     return ret;