On Wed, 4 Jan 2006 01:32:05 +0100 Jorge Luis Zapata Muga <[EMAIL PROTECTED]> wrote:
> on the client (modules, or whatever)
>
> 1. e_menu_category_callback_set("fileman/action", _callback_create,
> _callback_free, local_data);
Big problem here. After a module has set the callback, if the module
gets unloaded, the callback can still get called, which will crash E
since that callbacked code in the module no longer exists. There needs
to be a way to remove the modules callback when the module is disabled.
Maybe change e_menu_category_callback_set() to
e_menu_category_callback_add(), then write
e_menu_category_callback_del().
Other than that, it's working well in the emu module.
pgpzSXs59MPcL.pgp
Description: PGP signature
