summaryrefslogtreecommitdiff
path: root/src/modules/ecore_imf
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2019-07-15 11:37:53 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2019-07-15 11:37:53 +0900
commitf5ee2e3bb841c38b3025dfed18a0fe3ce70a4ab0 (patch)
treeefe78092232298fb1c44336d0f779d9b0730878a /src/modules/ecore_imf
parentc3c81263fd4504c8558ea47a48d0e764997b21d0 (diff)
downloadefl-f5ee2e3bb841c38b3025dfed18a0fe3ce70a4ab0.tar.gz
ecore_imf: remove code to use deprecated API in wayland immodule
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Diffstat (limited to 'src/modules/ecore_imf')
-rw-r--r--src/modules/ecore_imf/wayland/wayland_imcontext.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/ecore_imf/wayland/wayland_imcontext.c b/src/modules/ecore_imf/wayland/wayland_imcontext.c
index d7bcfe7994..70781fb93e 100644
--- a/src/modules/ecore_imf/wayland/wayland_imcontext.c
+++ b/src/modules/ecore_imf/wayland/wayland_imcontext.c
@@ -299,7 +299,6 @@ text_input_commit_string(void *data,
if (old_preedit)
{
- ecore_imf_context_preedit_end_event_add(imcontext->ctx);
ecore_imf_context_event_callback_call(imcontext->ctx,
ECORE_IMF_CALLBACK_PREEDIT_END,
NULL);
@@ -331,7 +330,6 @@ text_input_commit_string(void *data,
if (surrounding)
free(surrounding);
- ecore_imf_context_delete_surrounding_event_add(imcontext->ctx, ev.offset, ev.n_chars);
ecore_imf_context_event_callback_call(imcontext->ctx, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, &ev);
}
}
@@ -341,7 +339,6 @@ text_input_commit_string(void *data,
imcontext->pending_commit.cursor = 0;
imcontext->pending_commit.anchor = 0;
- ecore_imf_context_commit_event_add(imcontext->ctx, text);
ecore_imf_context_event_callback_call(imcontext->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)text);
}
@@ -354,17 +351,13 @@ commit_preedit(WaylandIMContext *imcontext)
if (!imcontext->ctx)
return;
- ecore_imf_context_preedit_changed_event_add(imcontext->ctx);
ecore_imf_context_event_callback_call(imcontext->ctx,
ECORE_IMF_CALLBACK_PREEDIT_CHANGED,
NULL);
- ecore_imf_context_preedit_end_event_add(imcontext->ctx);
ecore_imf_context_event_callback_call(imcontext->ctx,
ECORE_IMF_CALLBACK_PREEDIT_END, NULL);
- ecore_imf_context_commit_event_add(imcontext->ctx,
- imcontext->preedit_commit);
ecore_imf_context_event_callback_call(imcontext->ctx,
ECORE_IMF_CALLBACK_COMMIT,
(void *)imcontext->preedit_commit);
@@ -458,20 +451,17 @@ text_input_preedit_string(void *data,
if (!old_preedit)
{
- ecore_imf_context_preedit_start_event_add(imcontext->ctx);
ecore_imf_context_event_callback_call(imcontext->ctx,
ECORE_IMF_CALLBACK_PREEDIT_START,
NULL);
}
- ecore_imf_context_preedit_changed_event_add(imcontext->ctx);
ecore_imf_context_event_callback_call(imcontext->ctx,
ECORE_IMF_CALLBACK_PREEDIT_CHANGED,
NULL);
if (imcontext->preedit_text && strlen(imcontext->preedit_text) == 0)
{
- ecore_imf_context_preedit_end_event_add(imcontext->ctx);
ecore_imf_context_event_callback_call(imcontext->ctx,
ECORE_IMF_CALLBACK_PREEDIT_END,
NULL);
@@ -492,7 +482,6 @@ text_input_delete_surrounding_text(void *data,
imcontext->pending_commit.delete_index = ev.offset = index;
imcontext->pending_commit.delete_length = ev.n_chars = length;
- ecore_imf_context_delete_surrounding_event_add(imcontext->ctx, ev.offset, ev.n_chars);
ecore_imf_context_event_callback_call(imcontext->ctx, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, &ev);
}