aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/tiling/e_mod_tiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/tiling/e_mod_tiling.c')
-rw-r--r--src/modules/tiling/e_mod_tiling.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c
index b4ce09e0f..7473665bc 100644
--- a/src/modules/tiling/e_mod_tiling.c
+++ b/src/modules/tiling/e_mod_tiling.c
@@ -1834,10 +1834,8 @@ e_modapi_init(E_Module *m)
_G.info_hash = eina_hash_pointer_new(_clear_info_hash);
_G.client_extras = eina_hash_pointer_new(_clear_border_extras);
_G.desk_type = eina_hash_pointer_new(_clear_desk_types);
-#define HANDLER(_h, _e, _f) \
- _h = ecore_event_handler_add(E_EVENT_##_e, \
- (Ecore_Event_Handler_Cb)_f, \
- NULL);
+#define HANDLER(_h, _e, _f) \
+ _h = ecore_event_handler_add(E_EVENT_##_e, (void *)_f, NULL)
_G.handler_client_resize_begin =
e_client_hook_add(E_CLIENT_HOOK_RESIZE_BEGIN, _resize_begin_hook, NULL);