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
This commit is contained in:
parent
2038ddb5eb
commit
5ac8a01135
|
@ -60,7 +60,7 @@ static void _moon_timer_init();
|
||||||
static void _moon_timer_shutdown();
|
static void _moon_timer_shutdown();
|
||||||
static void _moon_timer_client_register(Evas_Object *moon);
|
static void _moon_timer_client_register(Evas_Object *moon);
|
||||||
static void _moon_timer_client_unregister(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 Moon_Config_Msg *_moon_config_msg_prepare();
|
||||||
static void _moon_config_msg_send(Evas_Object *o, Moon_Config_Msg *msg);
|
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 */
|
/* Timer event - update all moon objects */
|
||||||
static int
|
static Eina_Bool
|
||||||
_moon_timer_cb_update(void *data)
|
_moon_timer_cb_update(void *data)
|
||||||
{
|
{
|
||||||
Moon_Update_Msg *msg;
|
Moon_Update_Msg *msg;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
|
||||||
if (!_moon_timer->clients)
|
if (!_moon_timer->clients)
|
||||||
return 1;
|
return EINA_TRUE;
|
||||||
|
|
||||||
msg = _moon_update_msg_prepare();
|
msg = _moon_update_msg_prepare();
|
||||||
for (l = _moon_timer->clients; l; l = l->next)
|
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_send(gadget, msg);
|
||||||
}
|
}
|
||||||
_moon_update_msg_free(msg);
|
_moon_update_msg_free(msg);
|
||||||
return 1;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Update the specified instance with the latest configuration */
|
/* Update the specified instance with the latest configuration */
|
||||||
|
|
Loading…
Reference in New Issue