On Sun, Feb 22, 2009 at 10:54 AM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: ... > -ee.callback_delete_request_set(v.unlock_mod(1))
ouch, this was actually wrong, unless v.unlock_mod(1) returns a *function*, you were giving the callback_delete_request_set() the wrong object. I don't remember if I did check if the given object is a callable or not, but I should check for it or None. Summary: - v.unlock_mod: the "pointer" to function - v.unlock_mod(1): call the function v.unlock_mod() with parameter 1, receives a return value (which will be None if no explicit return statement is given). Regards, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel