From: Jihoon Kim Date: Tue, 3 Jan 2012 10:33:35 +0000 (+0900) Subject: change default return value of input_panel_layout_get X-Git-Tag: 2.0_alpha~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0625425732aa3133f27f208b352fdb5cb903282;p=framework%2Fuifw%2Fecore.git change default return value of input_panel_layout_get Change-Id: I0be71d16e21cfa863c36bf348272ae5a1fdb8404 --- diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h index 9e671f4..a5f0919 100644 --- a/src/lib/ecore_imf/Ecore_IMF.h +++ b/src/lib/ecore_imf/Ecore_IMF.h @@ -43,8 +43,7 @@ typedef enum ECORE_IMF_INPUT_PANEL_SHIFT_MODE_EVENT, /**< Input Panel SHIFT MODE */ ECORE_IMF_INPUT_PANEL_PREEDIT_MODE_EVENT, /**< Input Panel PREEDIT MODE */ ECORE_IMF_INPUT_PANEL_COMPLETION_MODE_EVENT, /**< Input Panel COMPLETION MODE */ - ECORE_IMF_INPUT_PANEL_CUSTOM_INPUT_MODE_EVENT, /**< Input Panel CUSTOM INPUT MODE */ - ECORE_IMF_INPUT_PANEL_EVENT_INVALID + ECORE_IMF_INPUT_PANEL_CUSTOM_INPUT_MODE_EVENT /**< Input Panel CUSTOM INPUT MODE */ } Ecore_IMF_Input_Panel_Event; typedef enum @@ -183,8 +182,7 @@ typedef enum ECORE_IMF_INPUT_PANEL_LAYOUT_PHONENUMBER, /**< Phone Number layout */ ECORE_IMF_INPUT_PANEL_LAYOUT_IP, /**< IP layout */ ECORE_IMF_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */ - ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */ - ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID + ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY /**< Number Only layout */ } Ecore_IMF_Input_Panel_Layout; typedef enum diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c index 4af61a3..a2e796b 100644 --- a/src/lib/ecore_imf/ecore_imf_context.c +++ b/src/lib/ecore_imf/ecore_imf_context.c @@ -1151,7 +1151,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx) { ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT, "ecore_imf_context_input_panel_layout_get"); - return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID; + return ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL; } if (ctx->klass->input_panel_layout_get) @@ -1159,7 +1159,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx) return ctx->input_panel_layout; } else - return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID; + return ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL; } /**