elm_entry_input_hint_set (en, input_hints);
}
- Ecore_IMF_Context *ic = NULL;
- ic = (Ecore_IMF_Context *)elm_entry_imf_context_get (en);
- if (ic) {
- if (prediction_hint)
- ecore_imf_context_prediction_hint_set (ic, prediction_hint);
-
- ecore_imf_context_prediction_hint_hash_set (ic, "appid", "isf-demo-efl");
- if (res_id)
- ecore_imf_context_prediction_hint_hash_set (ic, "res_id", res_id);
- }
+ if (prediction_hint)
+ elm_entry_prediction_hint_set (en, prediction_hint);
+
+ elm_entry_prediction_hint_hash_set (en, "appid", "isf-demo-efl");
+ if (res_id)
+ elm_entry_prediction_hint_hash_set (en, "res_id", res_id);
return ef;
}