Enlightenment CVS committal Author : andrunko Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_imf Modified Files: Ecore_IMF.h ecore_imf.c ecore_imf_context.c Log Message: Deleting Ecore_IMF event handlers on _e_entry_smart_del. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_imf/Ecore_IMF.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- Ecore_IMF.h 21 Nov 2007 22:20:16 -0000 1.3 +++ Ecore_IMF.h 12 Dec 2007 19:00:48 -0000 1.4 @@ -57,7 +57,7 @@ EAPI extern int ECORE_IMF_EVENT_PREEDIT_END; EAPI extern int ECORE_IMF_EVENT_PREEDIT_CHANGED; EAPI extern int ECORE_IMF_EVENT_COMMIT; - EAPI extern int ECORE_IMF_EVENT_DELETE_SURROUNDIND; + EAPI extern int ECORE_IMF_EVENT_DELETE_SURROUNDING; typedef enum { =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_imf/ecore_imf.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ecore_imf.c 22 Nov 2007 11:55:35 -0000 1.2 +++ ecore_imf.c 12 Dec 2007 19:00:48 -0000 1.3 @@ -13,8 +13,7 @@ EAPI int ECORE_IMF_EVENT_PREEDIT_END = 0; EAPI int ECORE_IMF_EVENT_PREEDIT_CHANGED = 0; EAPI int ECORE_IMF_EVENT_COMMIT = 0; -EAPI int ECORE_IMF_EVENT_RETRIEVE_SURROUNDIND = 0; -EAPI int ECORE_IMF_EVENT_DELETE_SURROUNDIND = 0; +EAPI int ECORE_IMF_EVENT_DELETE_SURROUNDING = 0; static int init_count = 0; @@ -43,8 +42,7 @@ ECORE_IMF_EVENT_PREEDIT_END = ecore_event_type_new(); ECORE_IMF_EVENT_PREEDIT_CHANGED = ecore_event_type_new(); ECORE_IMF_EVENT_COMMIT = ecore_event_type_new(); - ECORE_IMF_EVENT_RETRIEVE_SURROUNDIND = ecore_event_type_new(); - ECORE_IMF_EVENT_DELETE_SURROUNDIND = ecore_event_type_new(); + ECORE_IMF_EVENT_DELETE_SURROUNDING = ecore_event_type_new(); return init_count; } =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_imf/ecore_imf_context.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ecore_imf_context.c 22 Nov 2007 11:57:01 -0000 1.5 +++ ecore_imf_context.c 12 Dec 2007 19:00:48 -0000 1.6 @@ -773,7 +773,7 @@ } /** - * Adds ECORE_IMF_EVENT_DELETE_SURROUNDIND to the event queue. + * Adds ECORE_IMF_EVENT_DELETE_SURROUNDING to the event queue. * * @param ctx An #Ecore_IMF_Context. * @param offset The start offset of surrounding to be deleted. @@ -796,6 +796,6 @@ ev->ctx = ctx; ev->offset = offset; ev->n_chars = n_chars; - ecore_event_add(ECORE_IMF_EVENT_DELETE_SURROUNDIND, + ecore_event_add(ECORE_IMF_EVENT_DELETE_SURROUNDING, ev, _ecore_imf_event_free_delete_surrounding, NULL); } ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs