ecore_imf: change default return value of ecore_imf_context_input_panel_state_get
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 10 Feb 2012 06:25:48 +0000 (15:25 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 10 Feb 2012 06:25:48 +0000 (15:25 +0900)
Change-Id: I38ff8dedad1477bf117b9866ff561df35b638e8e

src/lib/ecore_imf/ecore_imf_context.c

index d88c223..eb5c033 100644 (file)
@@ -1638,12 +1638,12 @@ ecore_imf_context_input_panel_key_disabled_list_get(Ecore_IMF_Context *ctx)
 EAPI Ecore_IMF_Input_Panel_State
 ecore_imf_context_input_panel_state_get(Ecore_IMF_Context *ctx)
 {
-   Ecore_IMF_Input_Panel_State state = ECORE_IMF_INPUT_PANEL_STATE_INVALID;
+   Ecore_IMF_Input_Panel_State state = ECORE_IMF_INPUT_PANEL_STATE_HIDE;
    if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
      {
         ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
                          "ecore_imf_context_input_panel_state_get");
-        return ECORE_IMF_INPUT_PANEL_STATE_INVALID;
+        return ECORE_IMF_INPUT_PANEL_STATE_HIDE;
      }
 
    if (ctx->klass->input_panel_state_get)