Tiling2: Fix bug with cleaning up actions when shutting down.

This commit is contained in:
Tom Hacohen 2014-01-23 14:18:42 +00:00
parent ea175537cf
commit b48cd9c9f8
1 changed files with 1 additions and 2 deletions

View File

@ -1083,9 +1083,8 @@ e_modapi_init(E_Module *m)
HANDLER(_G.handler_compositor_resize, COMPOSITOR_RESIZE, _compositor_resize_hook);
#undef HANDLER
#define ACTION_ADD(_act, _cb, _title, _value, _params, _example, _editable) \
#define ACTION_ADD(_action, _cb, _title, _value, _params, _example, _editable) \
{ \
E_Action *_action = _act; \
const char *_name = _value; \
if ((_action = e_action_add(_name))) { \
_action->func.go = _cb; \