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
2a173dcf1c
commit
b8a4496a51
|
@ -16,7 +16,7 @@ static Evas_Object *_gc_icon(E_Gadcon_Client_Class *client_class, Evas *evas);
|
|||
|
||||
static void _places_conf_new(void);
|
||||
static void _places_conf_free(void);
|
||||
static int _places_conf_timer(void *data);
|
||||
static Eina_Bool _places_conf_timer(void *data);
|
||||
static Config_Item *_places_conf_item_get(const char *id);
|
||||
static void _places_cb_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event);
|
||||
static void _places_cb_menu_post(void *data, E_Menu *menu);
|
||||
|
@ -366,11 +366,11 @@ _places_conf_free(void)
|
|||
E_FREE(places_conf);
|
||||
}
|
||||
|
||||
static int
|
||||
static Eina_Bool
|
||||
_places_conf_timer(void *data)
|
||||
{
|
||||
e_util_dialog_show("Places Configuration Updated", data);
|
||||
return 0;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
static Config_Item *
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "e_mod_places.h"
|
||||
|
||||
/* Local Function Prototypes */
|
||||
static int _places_poller(void *data);
|
||||
static Eina_Bool _places_poller(void *data);
|
||||
static void _places_print_volume(Volume *v);
|
||||
static void _places_error_show(const char *title, const char *text1, const char *text2, const char *text3);
|
||||
static void _places_run_fm(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
|
@ -488,7 +488,7 @@ places_augmentation(void *data, E_Menu *em)
|
|||
}
|
||||
|
||||
/* Internals */
|
||||
static int
|
||||
static Eina_Bool
|
||||
_places_poller(void *data)
|
||||
{
|
||||
Eina_List *l;
|
||||
|
@ -498,7 +498,7 @@ _places_poller(void *data)
|
|||
if (vol->valid && vol->mounted)
|
||||
_places_update_size(vol->obj, vol);
|
||||
|
||||
return 1;
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -758,7 +758,7 @@ _places_eject_activated_cb(void *data, Evas_Object *o, const char *emission, con
|
|||
/***********************/
|
||||
/* HAL /DBUS Callbacks */
|
||||
/***********************/
|
||||
static int
|
||||
static Eina_Bool
|
||||
_places_open_when_mounted(void *data)
|
||||
{
|
||||
Volume *vol = data;
|
||||
|
@ -766,10 +766,10 @@ _places_open_when_mounted(void *data)
|
|||
if (vol->mount_point)
|
||||
{
|
||||
_places_run_fm((void*)vol->mount_point, NULL, NULL);
|
||||
return 0;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
return 1;
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue