forked from enlightenment/enlightenment
Add del hook
module unload will delete gadcons, so we need to cleanup in gadman as well. SVN revision: 55681
This commit is contained in:
parent
bcc5351764
commit
b44d0038a1
|
@ -186,6 +186,7 @@ gadman_gadget_place(E_Config_Gadcon_Client *cf, Gadman_Layer_Type layer, E_Zone
|
|||
/* init Gadcon_Client */
|
||||
gcc = cc->func.init(gc, cf->name, cf->id, cc->default_style);
|
||||
if (!gcc) return NULL;
|
||||
e_object_del_func_set(E_OBJECT(gcc), E_OBJECT_CLEANUP_FUNC(gadman_gadget_del));
|
||||
gcc->cf = cf;
|
||||
gcc->client_class = cc;
|
||||
|
||||
|
|
Loading…
Reference in New Issue