summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-01-23 14:18:42 +0000
committerTom Hacohen <tom@stosb.com>2014-01-30 15:22:03 +0000
commitcb8e7f654a435a3be9f23013b524d25c2fe8846c (patch)
treebb474c86fee8651c783d48c2f477b11dbda7f127
parent46e8d514f349bd4e5f17bd98d36d8d2f53bd15a1 (diff)
downloadenlightenment-cb8e7f654a435a3be9f23013b524d25c2fe8846c.tar.gz
Tiling2: Fix bug with cleaning up actions when shutting down.
-rw-r--r--src/modules/tiling2/e_mod_tiling.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/tiling2/e_mod_tiling.c b/src/modules/tiling2/e_mod_tiling.c
index 45424f44a1..385302608c 100644
--- a/src/modules/tiling2/e_mod_tiling.c
+++ b/src/modules/tiling2/e_mod_tiling.c
@@ -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; \