From: devilhorns Date: Tue, 28 Sep 2010 00:24:44 +0000 (+0000) Subject: Fix edje entry callback to use Eina_Bool like ecore_imf is expecting. X-Git-Tag: submit/trunk/20120815.180907~878 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6b066bd2405a1f87a08b855b0b176da1f457309;p=profile%2Fivi%2Fedje.git Fix edje entry callback to use Eina_Bool like ecore_imf is expecting. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@52832 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index bfd5817..94250f8 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -2,7 +2,7 @@ #ifdef HAVE_ECORE_IMF -static int _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx, char **text, int *cursor_pos); +static Eina_Bool _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx, char **text, int *cursor_pos); static Eina_Bool _edje_entry_imf_event_commit_cb(void *data, int type, void *event); static Eina_Bool _edje_entry_imf_event_changed_cb(void *data, int type, void *event); static Eina_Bool _edje_entry_imf_event_delete_surrounding_cb(void *data, int type, void *event); @@ -1733,7 +1733,8 @@ _edje_entry_real_part_init(Edje_Real_Part *rp) ecore_imf_context_client_window_set(en->imf_context, rp->object); ecore_imf_context_client_canvas_set(en->imf_context, rp->edje->evas); - ecore_imf_context_retrieve_surrounding_callback_set(en->imf_context, _edje_entry_imf_retrieve_surrounding_cb, rp); + ecore_imf_context_retrieve_surrounding_callback_set(en->imf_context, + _edje_entry_imf_retrieve_surrounding_cb, rp); en->imf_ee_handler_commit = ecore_event_handler_add(ECORE_IMF_EVENT_COMMIT, _edje_entry_imf_event_commit_cb, rp->edje); en->imf_ee_handler_delete = ecore_event_handler_add(ECORE_IMF_EVENT_DELETE_SURROUNDING, _edje_entry_imf_event_delete_surrounding_cb, rp); en->imf_ee_handler_changed = ecore_event_handler_add(ECORE_IMF_EVENT_PREEDIT_CHANGED, _edje_entry_imf_event_changed_cb, rp->edje); @@ -2450,7 +2451,7 @@ _edje_entry_cursor_content_get(Edje_Real_Part *rp, Edje_Cursor cur) } #ifdef HAVE_ECORE_IMF -static int +static Eina_Bool _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNUSED__, char **text, int *cursor_pos) { Edje_Real_Part *rp = data;