summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
diff options
context:
space:
mode:
authorJihoon Kim <imfine98@gmail.com>2012-02-09 03:53:03 +0000
committerJihoon Kim <imfine98@gmail.com>2012-02-09 03:53:03 +0000
commit09d8eb2f1d72287f7f0c5141e337636e2c2a22ca (patch)
tree97f0bb398b444aeb863081707f2538a736dbce3a /legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
parent3c9c59c5a5643cebcec0fa6a22296f01aa6ffea3 (diff)
ecore_imf_context.c: fix formatting
SVN revision: 67779
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
index 2dddc421c7..c6e03a5cff 100644
--- a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
+++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
@@ -1166,7 +1166,7 @@ ecore_imf_context_event_callback_call(Ecore_IMF_Context *ctx, Ecore_IMF_Callback
1166 * @since 1.1.0 1166 * @since 1.1.0
1167 */ 1167 */
1168EAPI void 1168EAPI void
1169ecore_imf_context_control_panel_show (Ecore_IMF_Context *ctx) 1169ecore_imf_context_control_panel_show(Ecore_IMF_Context *ctx)
1170{ 1170{
1171 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1171 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1172 { 1172 {
@@ -1186,7 +1186,7 @@ ecore_imf_context_control_panel_show (Ecore_IMF_Context *ctx)
1186 * @since 1.1.0 1186 * @since 1.1.0
1187 */ 1187 */
1188EAPI void 1188EAPI void
1189ecore_imf_context_control_panel_hide (Ecore_IMF_Context *ctx) 1189ecore_imf_context_control_panel_hide(Ecore_IMF_Context *ctx)
1190{ 1190{
1191 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1191 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1192 { 1192 {
@@ -1247,7 +1247,7 @@ ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
1247 * @since 1.1.0 1247 * @since 1.1.0
1248 */ 1248 */
1249EAPI void 1249EAPI void
1250ecore_imf_context_input_panel_layout_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout) 1250ecore_imf_context_input_panel_layout_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout)
1251{ 1251{
1252 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1252 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1253 { 1253 {
@@ -1271,7 +1271,7 @@ ecore_imf_context_input_panel_layout_set (Ecore_IMF_Context *ctx, Ecore_IMF_Inpu
1271 * @since 1.1.0 1271 * @since 1.1.0
1272 */ 1272 */
1273EAPI Ecore_IMF_Input_Panel_Layout 1273EAPI Ecore_IMF_Input_Panel_Layout
1274ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx) 1274ecore_imf_context_input_panel_layout_get(Ecore_IMF_Context *ctx)
1275{ 1275{
1276 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1276 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1277 { 1277 {
@@ -1281,9 +1281,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx)
1281 } 1281 }
1282 1282
1283 if (ctx->klass->input_panel_layout_get) 1283 if (ctx->klass->input_panel_layout_get)
1284 { 1284 return ctx->input_panel_layout;
1285 return ctx->input_panel_layout;
1286 }
1287 else 1285 else
1288 return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID; 1286 return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID;
1289} 1287}
@@ -1298,7 +1296,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx)
1298 * @since 1.1.0 1296 * @since 1.1.0
1299 */ 1297 */
1300EAPI void 1298EAPI void
1301ecore_imf_context_input_panel_language_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Lang lang) 1299ecore_imf_context_input_panel_language_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Lang lang)
1302{ 1300{
1303 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1301 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1304 { 1302 {
@@ -1322,7 +1320,7 @@ ecore_imf_context_input_panel_language_set (Ecore_IMF_Context *ctx, Ecore_IMF_In
1322 * @since 1.1.0 1320 * @since 1.1.0
1323 */ 1321 */
1324EAPI Ecore_IMF_Input_Panel_Lang 1322EAPI Ecore_IMF_Input_Panel_Lang
1325ecore_imf_context_input_panel_language_get (Ecore_IMF_Context *ctx) 1323ecore_imf_context_input_panel_language_get(Ecore_IMF_Context *ctx)
1326{ 1324{
1327 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1325 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1328 { 1326 {
@@ -1344,7 +1342,7 @@ ecore_imf_context_input_panel_language_get (Ecore_IMF_Context *ctx)
1344 * @since 1.1.0 1342 * @since 1.1.0
1345 */ 1343 */
1346EAPI void 1344EAPI void
1347ecore_imf_context_input_panel_enabled_set (Ecore_IMF_Context *ctx, 1345ecore_imf_context_input_panel_enabled_set(Ecore_IMF_Context *ctx,
1348 Eina_Bool enabled) 1346 Eina_Bool enabled)
1349{ 1347{
1350 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1348 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
@@ -1366,7 +1364,7 @@ ecore_imf_context_input_panel_enabled_set (Ecore_IMF_Context *ctx,
1366 * @since 1.1.0 1364 * @since 1.1.0
1367 */ 1365 */
1368EAPI Eina_Bool 1366EAPI Eina_Bool
1369ecore_imf_context_input_panel_enabled_get (Ecore_IMF_Context *ctx) 1367ecore_imf_context_input_panel_enabled_get(Ecore_IMF_Context *ctx)
1370{ 1368{
1371 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1369 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1372 { 1370 {