Folks,

I was looking into Edje's API yesterday when I came across these two
functions that seemed to do what I wanted:

void edje_object_text_insert_filter_callback_add (Evas_Object *obj,
const char *part, void(*func)(void *data, Evas_Object *obj, const char
*part, char **text), const void *data)
void edje_object_text_insert_filter_callback_del (Evas_Object *obj,
const char *part, void(*func)(void *data, Evas_Object *obj, const char
*part, char **text), const void *data)

They didn't work, so I went to the code and realized that they don't
actually do anything. Yes, they add/del a callback to a list of
callbacks, but the thing is, the callback is never called. Itens on
the list are manipulated and removed correctly, but the function that
is supposed to be calling them `static void _text_filter_prepend(...)`
is never called, and on later revisions received an __UNUSED__
attribute to shut up GCC.

Is there a reason for this API to still exist if it's not working?
Shouldn't it be just removed? I can provide a patch if wanted.


Cheers,

Eduardo Felipe.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to