Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib


Modified Files:
        Evas.h 


Log Message:
Add evas_object_event_callback_del_full()

This will check both function and data before removing the callback,
this is useful when you have lots of children monitoring parent, when
one child want to remove its monitoring function, others will remain.

Name is quite difficult to choose, I opted for "_full", but could be
"_with_data" or similar.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -3 -r1.125 -r1.126
--- Evas.h      26 May 2008 13:17:12 -0000      1.125
+++ Evas.h      3 Jun 2008 20:33:40 -0000       1.126
@@ -865,6 +865,7 @@
 
    EAPI void              evas_object_event_callback_add    (Evas_Object *obj, 
Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, 
void *event_info), const void *data);
    EAPI void             *evas_object_event_callback_del    (Evas_Object *obj, 
Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, 
void *event_info));
+   EAPI void             *evas_object_event_callback_del_full(Evas_Object 
*obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object 
*obj, void *event_info), const void *data);
 
    EAPI int              evas_async_events_fd_get          (void);
    EAPI int              evas_async_events_process         (void);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to