summaryrefslogtreecommitdiff
path: root/ism/extras
diff options
context:
space:
mode:
authorInHong Han <inhong1.han@samsung.com>2018-06-21 18:49:24 +0900
committerInHong Han <inhong1.han@samsung.com>2018-06-21 18:50:32 +0900
commitb8a6af2c15740f1bd9f239c3fc095b7a6c13bb4a (patch)
tree30c6bb2099b99c5df5d2f4b7587dfa9785d2d5f0 /ism/extras
parentfba837d528ef152ff284d4c129dfb9ccd587b945 (diff)
downloadisf-b8a6af2c15740f1bd9f239c3fc095b7a6c13bb4a.tar.gz
isf-b8a6af2c15740f1bd9f239c3fc095b7a6c13bb4a.tar.bz2
isf-b8a6af2c15740f1bd9f239c3fc095b7a6c13bb4a.zip
Prevent lock issue
Change-Id: Ie58ed576252dc685a6c82f915f25ba1934d775d2
Diffstat (limited to 'ism/extras')
-rw-r--r--ism/extras/efl_immodule/isf_imf_context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ism/extras/efl_immodule/isf_imf_context.cpp b/ism/extras/efl_immodule/isf_imf_context.cpp
index e594a407..3b215502 100644
--- a/ism/extras/efl_immodule/isf_imf_context.cpp
+++ b/ism/extras/efl_immodule/isf_imf_context.cpp
@@ -947,9 +947,9 @@ _ecore_imf_lock_to_scim_mask (unsigned int locks)
}
static void
-get_input_language ()
+get_input_language (keynode_t *key)
{
- char *input_lang_str = vconf_get_str (VCONFKEY_ISF_INPUT_LANGUAGE);
+ char *input_lang_str = vconf_keynode_get_str (key);
if (!input_lang_str) return;
input_lang = INPUT_LANG_OTHER;
@@ -982,7 +982,7 @@ static void input_language_changed_cb (keynode_t *key, void* data)
{
SCIM_DEBUG_MAIN (3) << __FUNCTION__ << "...\n";
- get_input_language ();
+ get_input_language (key);
}
void context_scim_imdata_get (Ecore_IMF_Context *ctx, void* data, int* length)