From 5ac8a01135cb5faad66c3a3287eff13a3f33e27e Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 8 Jul 2010 00:57:17 +0000 Subject: [PATCH] Fixes for Ecore Api changes Patch automatically by Coccinelle to fix the callbacks used by the following functions: * ecore_event_handler_add() * ecore_event_filter_add() * ecore_idler_add() * ecore_idle_enterer_add() * ecore_idle_enterer_before_add() * ecore_idle_exiter_add() * ecore_main_fd_handler_add() * ecore_main_win32_handler_add() * ecore_timer_add() * ecore_timer_loop_add() * ecore_animator_add() * ecore_poller_add() SVN revision: 50108 --- src/e_mod_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 51a9371..bbacede 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -60,7 +60,7 @@ static void _moon_timer_init(); static void _moon_timer_shutdown(); static void _moon_timer_client_register(Evas_Object *moon); static void _moon_timer_client_unregister(Evas_Object *moon); -static int _moon_timer_cb_update(void *data); +static Eina_Bool _moon_timer_cb_update(void *data); static Moon_Config_Msg *_moon_config_msg_prepare(); static void _moon_config_msg_send(Evas_Object *o, Moon_Config_Msg *msg); @@ -314,14 +314,14 @@ _moon_timer_client_unregister(Evas_Object *moon) } /* Timer event - update all moon objects */ -static int +static Eina_Bool _moon_timer_cb_update(void *data) { Moon_Update_Msg *msg; Eina_List *l; if (!_moon_timer->clients) - return 1; + return EINA_TRUE; msg = _moon_update_msg_prepare(); for (l = _moon_timer->clients; l; l = l->next) @@ -331,7 +331,7 @@ _moon_timer_cb_update(void *data) _moon_update_msg_send(gadget, msg); } _moon_update_msg_free(msg); - return 1; + return EINA_TRUE; } /* Update the specified instance with the latest configuration */