forked from enlightenment/enlightenment
__UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
This commit is contained in:
parent
aefab90d52
commit
471dcb24cb
|
@ -43,7 +43,6 @@ AC_C_BIGENDIAN
|
|||
AC_PROG_CC_C99
|
||||
AM_PROG_CC_C_O
|
||||
AC_FUNC_ALLOCA
|
||||
AC_C___ATTRIBUTE__
|
||||
|
||||
LT_INIT([disable-static])
|
||||
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
dnl Copyright (C) 2004-2008 Kim Woelders
|
||||
dnl Copyright (C) 2008 Vincent Torri <vtorri at univ-evry dot fr>
|
||||
dnl That code is public domain and can be freely used or copied.
|
||||
dnl Originally snatched from somewhere...
|
||||
|
||||
dnl Macro for checking if the compiler supports __attribute__
|
||||
|
||||
dnl Usage: AC_C___ATTRIBUTE__
|
||||
dnl call AC_DEFINE for HAVE___ATTRIBUTE__ and __UNUSED__
|
||||
dnl if the compiler supports __attribute__, HAVE___ATTRIBUTE__ is
|
||||
dnl defined to 1 and __UNUSED__ is defined to __attribute__((unused))
|
||||
dnl otherwise, HAVE___ATTRIBUTE__ is not defined and __UNUSED__ is
|
||||
dnl defined to nothing.
|
||||
|
||||
AC_DEFUN([AC_C___ATTRIBUTE__],
|
||||
[
|
||||
|
||||
AC_MSG_CHECKING([for __attribute__])
|
||||
|
||||
AC_CACHE_VAL([ac_cv___attribute__],
|
||||
[AC_TRY_COMPILE(
|
||||
[
|
||||
#include <stdlib.h>
|
||||
|
||||
int func(int x);
|
||||
int foo(int x __attribute__ ((unused)))
|
||||
{
|
||||
exit(1);
|
||||
}
|
||||
],
|
||||
[],
|
||||
[ac_cv___attribute__="yes"],
|
||||
[ac_cv___attribute__="no"]
|
||||
)])
|
||||
|
||||
AC_MSG_RESULT($ac_cv___attribute__)
|
||||
|
||||
if test "x${ac_cv___attribute__}" = "xyes" ; then
|
||||
AC_DEFINE([HAVE___ATTRIBUTE__], [1], [Define to 1 if your compiler has __attribute__])
|
||||
AC_DEFINE([__UNUSED__], [__attribute__((unused))], [Macro declaring a function argument to be unused])
|
||||
else
|
||||
AC_DEFINE([__UNUSED__], [], [Macro declaring a function argument to be unused])
|
||||
fi
|
||||
|
||||
])
|
||||
|
||||
dnl End of ac_attribute.m4
|
|
@ -42,11 +42,11 @@ struct _E_ACPI_Device_Multiplexed
|
|||
};
|
||||
|
||||
/* local function prototypes */
|
||||
static Eina_Bool _e_acpi_cb_server_del(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static Eina_Bool _e_acpi_cb_server_data(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static void _e_acpi_cb_event_free(void *data __UNUSED__, void *event);
|
||||
static Eina_Bool _e_acpi_cb_server_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
static Eina_Bool _e_acpi_cb_server_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
static void _e_acpi_cb_event_free(void *data EINA_UNUSED, void *event);
|
||||
static int _e_acpi_lid_status_get(const char *device, const char *bus);
|
||||
static Eina_Bool _e_acpi_cb_event(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static Eina_Bool _e_acpi_cb_event(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
|
||||
/* local variables */
|
||||
static int _e_acpi_events_frozen = 0;
|
||||
|
@ -206,7 +206,7 @@ e_acpi_events_thaw(void)
|
|||
|
||||
/* local functions */
|
||||
static Eina_Bool
|
||||
_e_acpi_cb_server_del(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_acpi_cb_server_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Con_Event_Server_Del *ev;
|
||||
Ecore_Event_Handler *hdl;
|
||||
|
@ -228,7 +228,7 @@ _e_acpi_cb_server_del(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_acpi_cb_server_data(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_acpi_cb_server_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Con_Event_Server_Data *ev;
|
||||
E_Event_Acpi *acpi_event;
|
||||
|
@ -366,7 +366,7 @@ done_event:
|
|||
}
|
||||
|
||||
static void
|
||||
_e_acpi_cb_event_free(void *data __UNUSED__, void *event)
|
||||
_e_acpi_cb_event_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Acpi *ev;
|
||||
|
||||
|
@ -437,7 +437,7 @@ _e_acpi_lid_status_get(const char *device, const char *bus)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_acpi_cb_event(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_acpi_cb_event(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Acpi *ev;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
if (act) act->func.go = _e_actions_act_##name##_go; \
|
||||
}
|
||||
#define ACT_FN_GO(act, use) \
|
||||
static void _e_actions_act_##act##_go(E_Object * obj __UNUSED__, const char *params use)
|
||||
static void _e_actions_act_##act##_go(E_Object * obj EINA_UNUSED, const char *params use)
|
||||
|
||||
#define ACT_GO_MOUSE(name) \
|
||||
{ \
|
||||
|
@ -15,7 +15,7 @@
|
|||
if (act) act->func.go_mouse = _e_actions_act_##name##_go_mouse; \
|
||||
}
|
||||
#define ACT_FN_GO_MOUSE(act, use) \
|
||||
static void _e_actions_act_##act##_go_mouse(E_Object * obj __UNUSED__, const char *params use, E_Binding_Event_Mouse_Button * ev __UNUSED__)
|
||||
static void _e_actions_act_##act##_go_mouse(E_Object * obj EINA_UNUSED, const char *params use, E_Binding_Event_Mouse_Button * ev EINA_UNUSED)
|
||||
|
||||
#define ACT_GO_WHEEL(name) \
|
||||
{ \
|
||||
|
@ -23,7 +23,7 @@
|
|||
if (act) act->func.go_wheel = _e_actions_act_##name##_go_wheel; \
|
||||
}
|
||||
#define ACT_FN_GO_WHEEL(act, use) \
|
||||
static void _e_actions_act_##act##_go_wheel(E_Object * obj __UNUSED__, const char *params use, E_Binding_Event_Wheel * ev __UNUSED__)
|
||||
static void _e_actions_act_##act##_go_wheel(E_Object * obj EINA_UNUSED, const char *params use, E_Binding_Event_Wheel * ev EINA_UNUSED)
|
||||
|
||||
#define ACT_GO_EDGE(name) \
|
||||
{ \
|
||||
|
@ -31,7 +31,7 @@
|
|||
if (act) act->func.go_edge = _e_actions_act_##name##_go_edge; \
|
||||
}
|
||||
#define ACT_FN_GO_EDGE(act, use) \
|
||||
static void _e_actions_act_##act##_go_edge(E_Object * obj __UNUSED__, const char *params use, E_Event_Zone_Edge * ev __UNUSED__)
|
||||
static void _e_actions_act_##act##_go_edge(E_Object * obj EINA_UNUSED, const char *params use, E_Event_Zone_Edge * ev EINA_UNUSED)
|
||||
|
||||
#define ACT_GO_SIGNAL(name) \
|
||||
{ \
|
||||
|
@ -39,7 +39,7 @@
|
|||
if (act) act->func.go_signal = _e_actions_act_##name##_go_signal; \
|
||||
}
|
||||
#define ACT_FN_GO_SIGNAL(act, use) \
|
||||
static void _e_actions_act_##act##_go_signal(E_Object * obj __UNUSED__, const char *params use, const char *sig, const char *src)
|
||||
static void _e_actions_act_##act##_go_signal(E_Object * obj EINA_UNUSED, const char *params use, const char *sig, const char *src)
|
||||
|
||||
#define ACT_GO_KEY(name) \
|
||||
{ \
|
||||
|
@ -47,7 +47,7 @@
|
|||
if (act) act->func.go_key = _e_actions_act_##name##_go_key; \
|
||||
}
|
||||
#define ACT_FN_GO_KEY(act, use1, use2) \
|
||||
static void _e_actions_act_##act##_go_key(E_Object * obj __UNUSED__, const char *params use1, Ecore_Event_Key * ev use2)
|
||||
static void _e_actions_act_##act##_go_key(E_Object * obj EINA_UNUSED, const char *params use1, Ecore_Event_Key * ev use2)
|
||||
|
||||
#define ACT_END(name) \
|
||||
{ \
|
||||
|
@ -55,7 +55,7 @@
|
|||
if (act) act->func.end = _e_actions_act_##name##_end; \
|
||||
}
|
||||
#define ACT_FN_END(act, use) \
|
||||
static void _e_actions_act_##act##_end(E_Object * obj __UNUSED__, const char *params use)
|
||||
static void _e_actions_act_##act##_end(E_Object * obj EINA_UNUSED, const char *params use)
|
||||
|
||||
#define ACT_END_MOUSE(name) \
|
||||
{ \
|
||||
|
@ -63,7 +63,7 @@
|
|||
if (act) act->func.end_mouse = _e_actions_act_##name##_end_mouse; \
|
||||
}
|
||||
#define ACT_FN_END_MOUSE(act, use) \
|
||||
static void _e_actions_act_##act##_end_mouse(E_Object * obj __UNUSED__, const char *params use, E_Binding_Event_Mouse_Button * ev __UNUSED__)
|
||||
static void _e_actions_act_##act##_end_mouse(E_Object * obj EINA_UNUSED, const char *params use, E_Binding_Event_Mouse_Button * ev EINA_UNUSED)
|
||||
|
||||
#define ACT_END_KEY(name) \
|
||||
{ \
|
||||
|
@ -71,7 +71,7 @@
|
|||
if (act) act->func.end_key = _e_actions_act_##name##_end_key; \
|
||||
}
|
||||
#define ACT_FN_END_KEY(act, use) \
|
||||
static void _e_actions_act_##act##_end_key(E_Object * obj __UNUSED__, const char *params use, Ecore_Event_Key * ev __UNUSED__)
|
||||
static void _e_actions_act_##act##_end_key(E_Object * obj EINA_UNUSED, const char *params use, Ecore_Event_Key * ev EINA_UNUSED)
|
||||
|
||||
#define ACT_GO_ACPI(name) \
|
||||
{ \
|
||||
|
@ -79,7 +79,7 @@
|
|||
if (act) act->func.go_acpi = _e_actions_act_##name##_go_acpi; \
|
||||
}
|
||||
#define ACT_FN_GO_ACPI(act, use) \
|
||||
static void _e_actions_act_##act##_go_acpi(E_Object * obj __UNUSED__, const char *params use, E_Event_Acpi * ev __UNUSED__)
|
||||
static void _e_actions_act_##act##_go_acpi(E_Object * obj EINA_UNUSED, const char *params use, E_Event_Acpi * ev EINA_UNUSED)
|
||||
|
||||
/* local functions forward declarations (window_jump_to needs the definition of exec) */
|
||||
ACT_FN_GO(exec, );
|
||||
|
@ -91,7 +91,7 @@ static int _action_groups_sort_cb(const void *d1, const void *d2);
|
|||
|
||||
/* to save writing this in N places - the sections are defined here */
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_move, __UNUSED__)
|
||||
ACT_FN_GO(window_move, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -100,7 +100,7 @@ ACT_FN_GO(window_move, __UNUSED__)
|
|||
e_client_act_move_begin((E_Client *)obj, NULL);
|
||||
}
|
||||
|
||||
ACT_FN_GO_MOUSE(window_move, __UNUSED__)
|
||||
ACT_FN_GO_MOUSE(window_move, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -125,7 +125,7 @@ ACT_FN_GO_SIGNAL(window_move, )
|
|||
}
|
||||
}
|
||||
|
||||
ACT_FN_END(window_move, __UNUSED__)
|
||||
ACT_FN_END(window_move, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -133,7 +133,7 @@ ACT_FN_END(window_move, __UNUSED__)
|
|||
e_client_act_move_end((E_Client *)obj, NULL);
|
||||
}
|
||||
|
||||
ACT_FN_END_MOUSE(window_move, __UNUSED__)
|
||||
ACT_FN_END_MOUSE(window_move, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -141,7 +141,7 @@ ACT_FN_END_MOUSE(window_move, __UNUSED__)
|
|||
e_client_act_move_end((E_Client *)obj, ev);
|
||||
}
|
||||
|
||||
ACT_FN_GO_KEY(window_move, __UNUSED__, __UNUSED__)
|
||||
ACT_FN_GO_KEY(window_move, EINA_UNUSED, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -155,7 +155,7 @@ ACT_FN_GO_KEY(window_move, __UNUSED__, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_resize, __UNUSED__)
|
||||
ACT_FN_GO(window_resize, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -164,7 +164,7 @@ ACT_FN_GO(window_resize, __UNUSED__)
|
|||
e_client_act_resize_begin((E_Client *)obj, NULL);
|
||||
}
|
||||
|
||||
ACT_FN_GO_MOUSE(window_resize, __UNUSED__)
|
||||
ACT_FN_GO_MOUSE(window_resize, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -193,7 +193,7 @@ ACT_FN_GO_SIGNAL(window_resize, )
|
|||
}
|
||||
}
|
||||
|
||||
ACT_FN_END(window_resize, __UNUSED__)
|
||||
ACT_FN_END(window_resize, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -201,7 +201,7 @@ ACT_FN_END(window_resize, __UNUSED__)
|
|||
e_client_act_resize_end((E_Client *)obj, NULL);
|
||||
}
|
||||
|
||||
ACT_FN_END_MOUSE(window_resize, __UNUSED__)
|
||||
ACT_FN_END_MOUSE(window_resize, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -209,7 +209,7 @@ ACT_FN_END_MOUSE(window_resize, __UNUSED__)
|
|||
e_client_act_resize_end((E_Client *)obj, ev);
|
||||
}
|
||||
|
||||
ACT_FN_GO_KEY(window_resize, __UNUSED__, __UNUSED__)
|
||||
ACT_FN_GO_KEY(window_resize, EINA_UNUSED, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -223,7 +223,7 @@ ACT_FN_GO_KEY(window_resize, __UNUSED__, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_menu, __UNUSED__)
|
||||
ACT_FN_GO(window_menu, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -235,7 +235,7 @@ ACT_FN_GO(window_menu, __UNUSED__)
|
|||
e_client_act_menu_begin((E_Client *)obj, NULL, 0);
|
||||
}
|
||||
|
||||
ACT_FN_GO_MOUSE(window_menu, __UNUSED__)
|
||||
ACT_FN_GO_MOUSE(window_menu, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -247,7 +247,7 @@ ACT_FN_GO_MOUSE(window_menu, __UNUSED__)
|
|||
e_client_act_menu_begin((E_Client *)obj, ev, 0);
|
||||
}
|
||||
|
||||
ACT_FN_GO_KEY(window_menu, __UNUSED__, __UNUSED__)
|
||||
ACT_FN_GO_KEY(window_menu, EINA_UNUSED, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -260,7 +260,7 @@ ACT_FN_GO_KEY(window_menu, __UNUSED__, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_raise, __UNUSED__)
|
||||
ACT_FN_GO(window_raise, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -274,7 +274,7 @@ ACT_FN_GO(window_raise, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_lower, __UNUSED__)
|
||||
ACT_FN_GO(window_lower, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -288,7 +288,7 @@ ACT_FN_GO(window_lower, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_close, __UNUSED__)
|
||||
ACT_FN_GO(window_close, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -320,7 +320,7 @@ _e_actions_cb_kill_dialog_ok(void *data, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_actions_cb_kill_dialog_cancel(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_e_actions_cb_kill_dialog_cancel(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(kill_dialog));
|
||||
kill_dialog = NULL;
|
||||
|
@ -332,7 +332,7 @@ _e_actions_cb_kill_dialog_delete(void *data, Evas *e EINA_UNUSED, Evas_Object *o
|
|||
_e_actions_cb_kill_dialog_cancel(NULL, data);
|
||||
}
|
||||
|
||||
ACT_FN_GO(window_kill, __UNUSED__)
|
||||
ACT_FN_GO(window_kill, EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
char dialog_text[1024];
|
||||
|
@ -377,7 +377,7 @@ ACT_FN_GO(window_kill, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_sticky_toggle, __UNUSED__)
|
||||
ACT_FN_GO(window_sticky_toggle, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -422,7 +422,7 @@ ACT_FN_GO(window_sticky, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_iconic_toggle, __UNUSED__)
|
||||
ACT_FN_GO(window_iconic_toggle, EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -767,7 +767,7 @@ ACT_FN_GO(window_shaded, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_borderless_toggle, __UNUSED__)
|
||||
ACT_FN_GO(window_borderless_toggle, EINA_UNUSED)
|
||||
{
|
||||
if ((!obj) || (obj->type != E_CLIENT_TYPE))
|
||||
obj = E_OBJECT(e_client_focused_get());
|
||||
|
@ -785,7 +785,7 @@ ACT_FN_GO(window_borderless_toggle, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_border_set, __UNUSED__)
|
||||
ACT_FN_GO(window_border_set, EINA_UNUSED)
|
||||
{
|
||||
if ((!obj) || (obj->type != E_CLIENT_TYPE))
|
||||
obj = E_OBJECT(e_client_focused_get());
|
||||
|
@ -805,7 +805,7 @@ ACT_FN_GO(window_border_set, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_border_cycle, __UNUSED__)
|
||||
ACT_FN_GO(window_border_cycle, EINA_UNUSED)
|
||||
{
|
||||
if ((!obj) || (obj->type != E_CLIENT_TYPE))
|
||||
obj = E_OBJECT(e_client_focused_get());
|
||||
|
@ -863,7 +863,7 @@ ACT_FN_GO(window_border_cycle, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_pinned_toggle, __UNUSED__)
|
||||
ACT_FN_GO(window_pinned_toggle, EINA_UNUSED)
|
||||
{
|
||||
if ((!obj) || (obj->type != E_CLIENT_TYPE))
|
||||
obj = E_OBJECT(e_client_focused_get());
|
||||
|
@ -960,7 +960,7 @@ ACT_FN_GO(window_move_to, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_move_to_center, __UNUSED__)
|
||||
ACT_FN_GO(window_move_to_center, EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1194,7 +1194,7 @@ ACT_FN_GO(window_jump_to_or_start, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(window_drag_icon, __UNUSED__)
|
||||
ACT_FN_GO(window_drag_icon, EINA_UNUSED)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_client_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -1403,7 +1403,7 @@ ACT_FN_GO(desk_flip_to, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(desk_flip_prev, __UNUSED__)
|
||||
ACT_FN_GO(desk_flip_prev, EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone;
|
||||
|
||||
|
@ -1799,7 +1799,7 @@ ACT_FN_GO(zone_desk_linear_flip_to, )
|
|||
|
||||
/***************************************************************************/
|
||||
static void
|
||||
_e_actions_cb_menu_end(void *data __UNUSED__, E_Menu *m)
|
||||
_e_actions_cb_menu_end(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
e_object_del(E_OBJECT(m));
|
||||
}
|
||||
|
@ -1883,7 +1883,7 @@ ACT_FN_GO_MOUSE(menu_show, )
|
|||
}
|
||||
}
|
||||
|
||||
ACT_FN_GO_KEY(menu_show, , __UNUSED__)
|
||||
ACT_FN_GO_KEY(menu_show, , EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone;
|
||||
|
||||
|
@ -2001,7 +2001,7 @@ ACT_FN_GO(app, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(app_new_instance, __UNUSED__)
|
||||
ACT_FN_GO(app_new_instance, EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
E_Zone *zone;
|
||||
|
@ -2024,7 +2024,7 @@ ACT_FN_GO(app_new_instance, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(desk_deskshow_toggle, __UNUSED__)
|
||||
ACT_FN_GO(desk_deskshow_toggle, EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone;
|
||||
|
||||
|
@ -2033,7 +2033,7 @@ ACT_FN_GO(desk_deskshow_toggle, __UNUSED__)
|
|||
if (zone) e_desk_deskshow(zone);
|
||||
}
|
||||
|
||||
ACT_FN_GO(cleanup_windows, __UNUSED__)
|
||||
ACT_FN_GO(cleanup_windows, EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone;
|
||||
|
||||
|
@ -2046,7 +2046,7 @@ ACT_FN_GO(cleanup_windows, __UNUSED__)
|
|||
static E_Dialog *exit_dialog = NULL;
|
||||
|
||||
static void
|
||||
_e_actions_cb_exit_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_actions_cb_exit_dialog_ok(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (dia)
|
||||
{
|
||||
|
@ -2057,7 +2057,7 @@ _e_actions_cb_exit_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_actions_cb_exit_dialog_cancel(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_e_actions_cb_exit_dialog_cancel(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(exit_dialog));
|
||||
exit_dialog = NULL;
|
||||
|
@ -2100,25 +2100,25 @@ ACT_FN_GO(exit, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(restart, __UNUSED__)
|
||||
ACT_FN_GO(restart, EINA_UNUSED)
|
||||
{
|
||||
e_sys_action_do(E_SYS_RESTART, NULL);
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(exit_now, __UNUSED__)
|
||||
ACT_FN_GO(exit_now, EINA_UNUSED)
|
||||
{
|
||||
e_sys_action_do(E_SYS_EXIT_NOW, NULL);
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(halt_now, __UNUSED__)
|
||||
ACT_FN_GO(halt_now, EINA_UNUSED)
|
||||
{
|
||||
e_sys_action_do(E_SYS_HALT_NOW, NULL);
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(mode_presentation_toggle, __UNUSED__)
|
||||
ACT_FN_GO(mode_presentation_toggle, EINA_UNUSED)
|
||||
{
|
||||
e_config->mode.presentation = !e_config->mode.presentation;
|
||||
e_config_mode_changed();
|
||||
|
@ -2126,7 +2126,7 @@ ACT_FN_GO(mode_presentation_toggle, __UNUSED__)
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(mode_offline_toggle, __UNUSED__)
|
||||
ACT_FN_GO(mode_offline_toggle, EINA_UNUSED)
|
||||
{
|
||||
e_config->mode.offline = !e_config->mode.offline;
|
||||
e_config_mode_changed();
|
||||
|
@ -2137,7 +2137,7 @@ ACT_FN_GO(mode_offline_toggle, __UNUSED__)
|
|||
static E_Dialog *logout_dialog = NULL;
|
||||
|
||||
static void
|
||||
_e_actions_cb_logout_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_actions_cb_logout_dialog_ok(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (dia)
|
||||
{
|
||||
|
@ -2148,7 +2148,7 @@ _e_actions_cb_logout_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_actions_cb_logout_dialog_cancel(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_e_actions_cb_logout_dialog_cancel(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(logout_dialog));
|
||||
logout_dialog = NULL;
|
||||
|
@ -2194,7 +2194,7 @@ ACT_FN_GO(logout, )
|
|||
static E_Dialog *halt_dialog = NULL;
|
||||
|
||||
static void
|
||||
_e_actions_cb_halt_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_actions_cb_halt_dialog_ok(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (dia)
|
||||
{
|
||||
|
@ -2205,7 +2205,7 @@ _e_actions_cb_halt_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_actions_cb_halt_dialog_cancel(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_e_actions_cb_halt_dialog_cancel(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(halt_dialog));
|
||||
halt_dialog = NULL;
|
||||
|
@ -2254,7 +2254,7 @@ ACT_FN_GO(halt, )
|
|||
static E_Dialog *reboot_dialog = NULL;
|
||||
|
||||
static void
|
||||
_e_actions_cb_reboot_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_actions_cb_reboot_dialog_ok(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (dia)
|
||||
{
|
||||
|
@ -2265,7 +2265,7 @@ _e_actions_cb_reboot_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_actions_cb_reboot_dialog_cancel(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_e_actions_cb_reboot_dialog_cancel(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(reboot_dialog));
|
||||
reboot_dialog = NULL;
|
||||
|
@ -2311,7 +2311,7 @@ ACT_FN_GO(reboot, )
|
|||
static E_Dialog *suspend_dialog = NULL;
|
||||
|
||||
static void
|
||||
_e_actions_cb_suspend_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_actions_cb_suspend_dialog_ok(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (dia)
|
||||
{
|
||||
|
@ -2322,7 +2322,7 @@ _e_actions_cb_suspend_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_actions_cb_suspend_dialog_cancel(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_e_actions_cb_suspend_dialog_cancel(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(suspend_dialog));
|
||||
suspend_dialog = NULL;
|
||||
|
@ -2334,7 +2334,7 @@ _e_actions_cb_suspend_dialog_delete(void *data, Evas *e EINA_UNUSED, Evas_Object
|
|||
_e_actions_cb_suspend_dialog_cancel(NULL, data);
|
||||
}
|
||||
|
||||
ACT_FN_GO(suspend_now, __UNUSED__)
|
||||
ACT_FN_GO(suspend_now, EINA_UNUSED)
|
||||
{
|
||||
e_sys_action_do(E_SYS_SUSPEND, NULL);
|
||||
}
|
||||
|
@ -2391,7 +2391,7 @@ _have_lid_and_external_screens_on(void)
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
ACT_FN_GO(suspend_smart, __UNUSED__)
|
||||
ACT_FN_GO(suspend_smart, EINA_UNUSED)
|
||||
{
|
||||
if ((!_have_lid_and_external_screens_on()) &&
|
||||
(ecore_power_state_get() != ECORE_POWER_STATE_MAINS))
|
||||
|
@ -2402,7 +2402,7 @@ ACT_FN_GO(suspend_smart, __UNUSED__)
|
|||
static E_Dialog *hibernate_dialog = NULL;
|
||||
|
||||
static void
|
||||
_e_actions_cb_hibernate_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_actions_cb_hibernate_dialog_ok(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (dia)
|
||||
{
|
||||
|
@ -2413,7 +2413,7 @@ _e_actions_cb_hibernate_dialog_ok(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_actions_cb_hibernate_dialog_cancel(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_e_actions_cb_hibernate_dialog_cancel(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(hibernate_dialog));
|
||||
hibernate_dialog = NULL;
|
||||
|
@ -2425,7 +2425,7 @@ _e_actions_cb_hibernate_dialog_delete(void *data, Evas *e EINA_UNUSED, Evas_Obje
|
|||
_e_actions_cb_hibernate_dialog_cancel(NULL, data);
|
||||
}
|
||||
|
||||
ACT_FN_GO(hibernate_now, __UNUSED__)
|
||||
ACT_FN_GO(hibernate_now, EINA_UNUSED)
|
||||
{
|
||||
e_sys_action_do(E_SYS_HIBERNATE, NULL);
|
||||
}
|
||||
|
@ -2460,7 +2460,7 @@ ACT_FN_GO(hibernate, )
|
|||
e_dialog_show(hibernate_dialog);
|
||||
}
|
||||
|
||||
ACT_FN_GO(hibernate_smart, __UNUSED__)
|
||||
ACT_FN_GO(hibernate_smart, EINA_UNUSED)
|
||||
{
|
||||
if ((!_have_lid_and_external_screens_on()) &&
|
||||
(ecore_power_state_get() != ECORE_POWER_STATE_MAINS))
|
||||
|
@ -2500,7 +2500,7 @@ ACT_FN_GO(pointer_resize_pop, )
|
|||
}
|
||||
|
||||
/***************************************************************************/
|
||||
ACT_FN_GO(desk_lock, __UNUSED__)
|
||||
ACT_FN_GO(desk_lock, EINA_UNUSED)
|
||||
{
|
||||
/* E_Zone *zone;
|
||||
|
||||
|
@ -2747,7 +2747,7 @@ _delayed_action_key_add(E_Object *obj, const char *params, Ecore_Event_Key *ev)
|
|||
}
|
||||
|
||||
static void
|
||||
_delayed_action_key_del(E_Object *obj, const char *params __UNUSED__, Ecore_Event_Key *ev)
|
||||
_delayed_action_key_del(E_Object *obj, const char *params EINA_UNUSED, Ecore_Event_Key *ev)
|
||||
{
|
||||
Eina_List *l;
|
||||
Delayed_Action *da;
|
||||
|
@ -2784,7 +2784,7 @@ _delayed_action_mouse_add(E_Object *obj, const char *params, E_Binding_Event_Mou
|
|||
}
|
||||
|
||||
static void
|
||||
_delayed_action_mouse_del(E_Object *obj, const char *params __UNUSED__, E_Binding_Event_Mouse_Button *ev)
|
||||
_delayed_action_mouse_del(E_Object *obj, const char *params EINA_UNUSED, E_Binding_Event_Mouse_Button *ev)
|
||||
{
|
||||
Eina_List *l;
|
||||
Delayed_Action *da;
|
||||
|
@ -2823,13 +2823,13 @@ ACT_FN_END_MOUSE(delayed_action, )
|
|||
_delayed_action_mouse_del(obj, params, ev);
|
||||
}
|
||||
|
||||
ACT_FN_GO(dim_screen, __UNUSED__)
|
||||
ACT_FN_GO(dim_screen, EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone = _e_actions_zone_get(obj);
|
||||
e_backlight_mode_set(zone, E_BACKLIGHT_MODE_DIM);
|
||||
}
|
||||
|
||||
ACT_FN_GO(undim_screen, __UNUSED__)
|
||||
ACT_FN_GO(undim_screen, EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone = _e_actions_zone_get(obj);
|
||||
e_backlight_mode_set(zone, E_BACKLIGHT_MODE_NORMAL);
|
||||
|
@ -2878,14 +2878,14 @@ ACT_FN_GO(kbd_layout, )
|
|||
#endif
|
||||
}
|
||||
|
||||
ACT_FN_GO(kbd_layout_next, __UNUSED__)
|
||||
ACT_FN_GO(kbd_layout_next, EINA_UNUSED)
|
||||
{
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
e_xkb_layout_next();
|
||||
#endif
|
||||
}
|
||||
|
||||
ACT_FN_GO(kbd_layout_prev, __UNUSED__)
|
||||
ACT_FN_GO(kbd_layout_prev, EINA_UNUSED)
|
||||
{
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
e_xkb_layout_prev();
|
||||
|
@ -2935,7 +2935,7 @@ ACT_FN_GO(module_toggle, )
|
|||
else e_module_enable(m);
|
||||
}
|
||||
|
||||
ACT_FN_GO(screen_redo, __UNUSED__)
|
||||
ACT_FN_GO(screen_redo, EINA_UNUSED)
|
||||
{
|
||||
printf("REDOOOOOOOOOOOOOOOOOOOOOOOOOOO\n");
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
|
|
|
@ -35,7 +35,7 @@ static Eina_Bool bl_sys_set_exe_ready = EINA_TRUE;
|
|||
|
||||
static void _bl_sys_find(void);
|
||||
static void _bl_sys_level_get(void);
|
||||
static Eina_Bool _e_bl_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static Eina_Bool _e_bl_cb_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
static void _bl_sys_level_set(double val);
|
||||
#endif
|
||||
|
||||
|
@ -144,7 +144,7 @@ e_backlight_level_set(E_Zone *zone, double val, double tim)
|
|||
}
|
||||
|
||||
EAPI double
|
||||
e_backlight_level_get(E_Zone *zone __UNUSED__)
|
||||
e_backlight_level_get(E_Zone *zone EINA_UNUSED)
|
||||
{
|
||||
// zone == NULL == everything
|
||||
return e_bl_val;
|
||||
|
@ -179,7 +179,7 @@ e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode)
|
|||
}
|
||||
|
||||
EAPI E_Backlight_Mode
|
||||
e_backlight_mode_get(E_Zone *zone __UNUSED__)
|
||||
e_backlight_mode_get(E_Zone *zone EINA_UNUSED)
|
||||
{
|
||||
// zone == NULL == everything
|
||||
return e_config->backlight.mode;
|
||||
|
@ -447,7 +447,7 @@ _bl_sys_level_get(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_bl_cb_ext_delay(void *data __UNUSED__)
|
||||
_e_bl_cb_ext_delay(void *data EINA_UNUSED)
|
||||
{
|
||||
bl_sys_set_exe_ready = EINA_TRUE;
|
||||
if (bl_sys_pending_set)
|
||||
|
@ -460,7 +460,7 @@ _e_bl_cb_ext_delay(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_bl_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_bl_cb_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *ev;
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
/* local subsystem functions */
|
||||
static void _e_bg_signal(void *data, Evas_Object *obj, const char *emission, const char *source);
|
||||
static void _e_bg_event_bg_update_free(void *data, void *event);
|
||||
static void e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path);
|
||||
static int e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path);
|
||||
static void e_bg_handler_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path);
|
||||
static int e_bg_handler_test(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path);
|
||||
static void _e_bg_handler_image_imported(const char *image_path, void *data);
|
||||
|
||||
/* local subsystem globals */
|
||||
|
@ -416,7 +416,7 @@ e_bg_update(void)
|
|||
* Set background to image, as required in e_fm2_mime_handler_new()
|
||||
*/
|
||||
static void
|
||||
e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path)
|
||||
e_bg_handler_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path)
|
||||
{
|
||||
char buf[4096];
|
||||
int copy = 1;
|
||||
|
@ -478,7 +478,7 @@ e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char
|
|||
* Just edje files with "e/desktop/background" group are used.
|
||||
*/
|
||||
static int
|
||||
e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path)
|
||||
e_bg_handler_test(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path)
|
||||
{
|
||||
if (!path) return 0;
|
||||
|
||||
|
@ -493,7 +493,7 @@ e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char
|
|||
}
|
||||
|
||||
static void
|
||||
_e_bg_signal(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_bg_signal(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone = data;
|
||||
|
||||
|
@ -507,13 +507,13 @@ _e_bg_signal(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_bg_event_bg_update_free(void *data __UNUSED__, void *event)
|
||||
_e_bg_event_bg_update_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
free(event);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_bg_handler_image_imported(const char *image_path, void *data __UNUSED__)
|
||||
_e_bg_handler_image_imported(const char *image_path, void *data EINA_UNUSED)
|
||||
{
|
||||
e_bg_default_set(image_path);
|
||||
e_bg_update();
|
||||
|
|
|
@ -88,7 +88,7 @@ e_color_dialog_change_callback_set(E_Color_Dialog *dia, void (*func)(E_Color_Dia
|
|||
}
|
||||
|
||||
static void
|
||||
_e_color_dialog_cb_csel_change(void *data, Evas_Object *obj __UNUSED__)
|
||||
_e_color_dialog_cb_csel_change(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Color_Dialog *dia;
|
||||
|
||||
|
@ -98,7 +98,7 @@ _e_color_dialog_cb_csel_change(void *data, Evas_Object *obj __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_color_dialog_button1_click(void *data, E_Dialog *edia __UNUSED__)
|
||||
_e_color_dialog_button1_click(void *data, E_Dialog *edia EINA_UNUSED)
|
||||
{
|
||||
E_Color_Dialog *dia;
|
||||
|
||||
|
@ -109,7 +109,7 @@ _e_color_dialog_button1_click(void *data, E_Dialog *edia __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_color_dialog_button2_click(void *data, E_Dialog *edia __UNUSED__)
|
||||
_e_color_dialog_button2_click(void *data, E_Dialog *edia EINA_UNUSED)
|
||||
{
|
||||
E_Color_Dialog *dia;
|
||||
|
||||
|
|
|
@ -930,7 +930,7 @@ _e_comp_act_opacity_change_go(E_Object *obj, const char *params)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_comp_act_opacity_set_go(E_Object * obj __UNUSED__, const char *params)
|
||||
_e_comp_act_opacity_set_go(E_Object * obj EINA_UNUSED, const char *params)
|
||||
{
|
||||
int opacity;
|
||||
Evas_Object *o;
|
||||
|
@ -1121,10 +1121,10 @@ _style_demo(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_style_selector_del(void *data __UNUSED__,
|
||||
_style_selector_del(void *data EINA_UNUSED,
|
||||
Evas *e,
|
||||
Evas_Object *o,
|
||||
void *event_info __UNUSED__)
|
||||
void *event_info EINA_UNUSED)
|
||||
{
|
||||
Eina_List *style_shadows, *style_list;
|
||||
Ecore_Timer *timer;
|
||||
|
|
|
@ -4300,7 +4300,7 @@ _e_comp_x_cb_ping(void *data EINA_UNUSED, int ev_type EINA_UNUSED, Ecore_X_Event
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_comp_x_screensaver_idle_timer_cb(void *d __UNUSED__)
|
||||
_e_comp_x_screensaver_idle_timer_cb(void *d EINA_UNUSED)
|
||||
{
|
||||
ecore_event_add(E_EVENT_SCREENSAVER_ON, NULL, NULL, NULL);
|
||||
screensaver_idle_timer = NULL;
|
||||
|
@ -4311,7 +4311,7 @@ static Ecore_Timer *screensaver_eval_timer = NULL;
|
|||
static Eina_Bool saver_on = EINA_FALSE;
|
||||
|
||||
static Eina_Bool
|
||||
_e_comp_x_screensaver_eval_cb(void *d __UNUSED__)
|
||||
_e_comp_x_screensaver_eval_cb(void *d EINA_UNUSED)
|
||||
{
|
||||
if (saver_on)
|
||||
{
|
||||
|
@ -4365,7 +4365,7 @@ _e_comp_x_screensaver_eval_cb(void *d __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_comp_x_screensaver_notify_cb(void *data __UNUSED__, int type __UNUSED__, Ecore_X_Event_Screensaver_Notify *ev)
|
||||
_e_comp_x_screensaver_notify_cb(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Screensaver_Notify *ev)
|
||||
{
|
||||
if ((ev->on) && (!saver_on))
|
||||
{
|
||||
|
|
|
@ -2114,7 +2114,7 @@ e_config_bindings_free(E_Config_Bindings *ecb)
|
|||
|
||||
/* local subsystem functions */
|
||||
static void
|
||||
_e_config_save_cb(void *data __UNUSED__)
|
||||
_e_config_save_cb(void *data EINA_UNUSED)
|
||||
{
|
||||
e_config_profile_save();
|
||||
e_module_save_all();
|
||||
|
|
|
@ -333,7 +333,7 @@ _e_config_dialog_cb_dialog_del(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_config_dialog_cb_ok(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_config_dialog_cb_ok(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
int ok = 0;
|
||||
|
@ -354,7 +354,7 @@ _e_config_dialog_cb_ok(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_config_dialog_cb_apply(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_config_dialog_cb_apply(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
int ok = 0;
|
||||
|
@ -379,7 +379,7 @@ _e_config_dialog_cb_apply(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_config_dialog_cb_advanced(void *data, void *data2 __UNUSED__)
|
||||
_e_config_dialog_cb_advanced(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
|
||||
|
@ -389,7 +389,7 @@ _e_config_dialog_cb_advanced(void *data, void *data2 __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_config_dialog_cb_basic(void *data, void *data2 __UNUSED__)
|
||||
_e_config_dialog_cb_basic(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
|
||||
|
@ -458,7 +458,7 @@ _e_config_dialog_check_changed(E_Config_Dialog *cfd, unsigned char def)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_config_dialog_cb_changed(void *data, Evas_Object *obj __UNUSED__)
|
||||
_e_config_dialog_cb_changed(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
int changed;
|
||||
|
@ -471,7 +471,7 @@ _e_config_dialog_cb_changed(void *data, Evas_Object *obj __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_config_dialog_cb_close(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_config_dialog_cb_close(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
int ok = 1;
|
||||
|
|
|
@ -271,13 +271,13 @@ e_configure_registry_exists(const char *path)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_configure_menu_module_item_cb(void *data __UNUSED__, E_Menu *m EINA_UNUSED, E_Menu_Item *mi __UNUSED__)
|
||||
_e_configure_menu_module_item_cb(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
e_int_config_modules(NULL, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_configure_menu_add(void *data __UNUSED__, E_Menu *m)
|
||||
_e_configure_menu_add(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
E_Menu_Item *mi;
|
||||
|
||||
|
@ -288,14 +288,14 @@ _e_configure_menu_add(void *data __UNUSED__, E_Menu *m)
|
|||
}
|
||||
|
||||
static void
|
||||
_configure_job(void *data __UNUSED__)
|
||||
_configure_job(void *data EINA_UNUSED)
|
||||
{
|
||||
_e_configure_efreet_desktop_update();
|
||||
update_job = NULL;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_configure_init_timer(void *data __UNUSED__)
|
||||
_configure_init_timer(void *data EINA_UNUSED)
|
||||
{
|
||||
handlers = eina_list_append
|
||||
(handlers, ecore_event_handler_add
|
||||
|
@ -443,7 +443,7 @@ _e_configure_efreet_desktop_update(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_configure_cb_efreet_desktop_cache_update(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_configure_cb_efreet_desktop_cache_update(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
_e_configure_efreet_desktop_cleanup();
|
||||
if (update_job) ecore_job_del(update_job);
|
||||
|
|
|
@ -77,7 +77,7 @@ _e_confirm_dialog_free(E_Confirm_Dialog *cd)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_confirm_dialog_yes(void *data, E_Dialog *dia __UNUSED__)
|
||||
_e_confirm_dialog_yes(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Confirm_Dialog *cd;
|
||||
|
||||
|
@ -90,7 +90,7 @@ _e_confirm_dialog_yes(void *data, E_Dialog *dia __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_confirm_dialog_no(void *data, E_Dialog *dia __UNUSED__)
|
||||
_e_confirm_dialog_no(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Confirm_Dialog *cd;
|
||||
|
||||
|
|
|
@ -733,7 +733,7 @@ _e_desk_free(E_Desk *desk)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desk_event_desk_show_free(void *data __UNUSED__, void *event)
|
||||
_e_desk_event_desk_show_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Desk_Show *ev;
|
||||
|
||||
|
@ -743,7 +743,7 @@ _e_desk_event_desk_show_free(void *data __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desk_event_desk_before_show_free(void *data __UNUSED__, void *event)
|
||||
_e_desk_event_desk_before_show_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Desk_Before_Show *ev;
|
||||
|
||||
|
@ -753,7 +753,7 @@ _e_desk_event_desk_before_show_free(void *data __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desk_event_desk_after_show_free(void *data __UNUSED__, void *event)
|
||||
_e_desk_event_desk_after_show_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Desk_After_Show *ev;
|
||||
|
||||
|
@ -763,7 +763,7 @@ _e_desk_event_desk_after_show_free(void *data __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desk_event_desk_deskshow_free(void *data __UNUSED__, void *event)
|
||||
_e_desk_event_desk_deskshow_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Desk_Show *ev;
|
||||
|
||||
|
@ -773,7 +773,7 @@ _e_desk_event_desk_deskshow_free(void *data __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desk_event_desk_name_change_free(void *data __UNUSED__, void *event)
|
||||
_e_desk_event_desk_name_change_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Desk_Name_Change *ev = event;
|
||||
e_object_unref(E_OBJECT(ev->desk));
|
||||
|
@ -781,7 +781,7 @@ _e_desk_event_desk_name_change_free(void *data __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desk_event_desk_window_profile_change_free(void *data __UNUSED__, void *event)
|
||||
_e_desk_event_desk_window_profile_change_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Desk_Window_Profile_Change *ev = event;
|
||||
e_object_unref(E_OBJECT(ev->desk));
|
||||
|
|
|
@ -33,8 +33,8 @@ static Eina_List *desklock_ifaces = NULL;
|
|||
static E_Desklock_Interface *current_iface = NULL;
|
||||
|
||||
/***********************************************************************/
|
||||
static Eina_Bool _e_desklock_cb_custom_desklock_exit(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static Eina_Bool _e_desklock_cb_idle_poller(void *data __UNUSED__);
|
||||
static Eina_Bool _e_desklock_cb_custom_desklock_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
static Eina_Bool _e_desklock_cb_idle_poller(void *data EINA_UNUSED);
|
||||
static Eina_Bool _e_desklock_cb_run(void *data, int type, void *event);
|
||||
|
||||
static Eina_Bool _e_desklock_state = EINA_FALSE;
|
||||
|
@ -397,7 +397,7 @@ e_desklock_state_get(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_desklock_cb_custom_desklock_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_desklock_cb_custom_desklock_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *ev = event;
|
||||
|
||||
|
@ -414,7 +414,7 @@ _e_desklock_cb_custom_desklock_exit(void *data __UNUSED__, int type __UNUSED__,
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_desklock_cb_idle_poller(void *data __UNUSED__)
|
||||
_e_desklock_cb_idle_poller(void *data EINA_UNUSED)
|
||||
{
|
||||
if ((e_config->desklock_autolock_idle) && (!e_config->mode.presentation))
|
||||
{
|
||||
|
@ -467,7 +467,7 @@ _e_desklock_ask_presentation_del(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desklock_ask_presentation_yes(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_desklock_ask_presentation_yes(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
e_config->mode.presentation = 1;
|
||||
e_config_mode_changed();
|
||||
|
@ -477,14 +477,14 @@ _e_desklock_ask_presentation_yes(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desklock_ask_presentation_no(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_desklock_ask_presentation_no(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
e_object_del(E_OBJECT(dia));
|
||||
_e_desklock_ask_presentation_count = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
_e_desklock_ask_presentation_no_increase(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_desklock_ask_presentation_no_increase(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
int timeout, interval, blanking, expose;
|
||||
|
@ -501,7 +501,7 @@ _e_desklock_ask_presentation_no_increase(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desklock_ask_presentation_no_forever(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_desklock_ask_presentation_no_forever(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
e_config->desklock_ask_presentation = 0;
|
||||
e_config_save_queue();
|
||||
|
@ -510,7 +510,7 @@ _e_desklock_ask_presentation_no_forever(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desklock_ask_presentation_key_down(void *data, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event)
|
||||
_e_desklock_ask_presentation_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event)
|
||||
{
|
||||
Evas_Event_Key_Down *ev = event;
|
||||
E_Dialog *dia = data;
|
||||
|
@ -577,7 +577,7 @@ _e_desklock_run(E_Desklock_Run *task)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desklock_job(void *data __UNUSED__)
|
||||
_e_desklock_job(void *data EINA_UNUSED)
|
||||
{
|
||||
E_Desklock_Run *task;
|
||||
|
||||
|
@ -592,7 +592,7 @@ _e_desklock_job(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_desklock_cb_run(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_desklock_cb_run(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Desklock_Run *task;
|
||||
E_Event_Desklock *ev = event;
|
||||
|
|
|
@ -379,7 +379,7 @@ _e_desktop_edit_create_data(E_Config_Dialog *cfd)
|
|||
* Frees the config dialog data
|
||||
*/
|
||||
static void
|
||||
_e_desktop_edit_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_e_desktop_edit_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
if (cfdata->editor->tmp_image_path)
|
||||
{
|
||||
|
@ -477,7 +477,7 @@ _e_desktop_edit_update_orig_path(E_Config_Dialog_Data *cfdata)
|
|||
* Apply the basic config dialog
|
||||
*/
|
||||
static int
|
||||
_e_desktop_edit_basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_e_desktop_edit_basic_apply_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
E_FREE(cfdata->desktop->name);
|
||||
IFDUP(cfdata->name, cfdata->desktop->name);
|
||||
|
@ -532,7 +532,7 @@ _e_desktop_edit_basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialo
|
|||
}
|
||||
|
||||
static int
|
||||
_e_desktop_edit_basic_check_changed(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_e_desktop_edit_basic_check_changed(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -662,35 +662,35 @@ _e_desktop_edit_basic_check_changed(E_Config_Dialog *cfd __UNUSED__, E_Config_Di
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desktop_editor_name_changed(void *data, Evas_Object *obj __UNUSED__)
|
||||
_e_desktop_editor_name_changed(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
_e_desktop_edit_update_orig_path(cfdata);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_desktop_editor_categories_changed(void *data, Evas_Object *obj __UNUSED__)
|
||||
_e_desktop_editor_categories_changed(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
cfdata->edited_categories = EINA_TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
_e_desktop_editor_icon_entry_changed(void *data, Evas_Object *obj __UNUSED__)
|
||||
_e_desktop_editor_icon_entry_changed(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
_e_desktop_editor_icon_update(cfdata);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_desktop_editor_mimes_changed(void *data, Evas_Object *obj __UNUSED__)
|
||||
_e_desktop_editor_mimes_changed(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
cfdata->edited_mimes = EINA_TRUE;
|
||||
}
|
||||
|
||||
static Evas_Object *
|
||||
_e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
E_Desktop_Edit *editor = cfdata->editor;
|
||||
E_Radio_Group *rg;
|
||||
|
@ -960,7 +960,7 @@ _e_desktop_editor_cb_exec_select(void *data1, void *data2)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_desktop_edit_select_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
|
||||
_e_desktop_edit_select_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -285,13 +285,13 @@ _e_dialog_free(E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_dialog_del_func_cb(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_dialog_del_func_cb(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
e_util_defer_object_del(E_OBJECT(dia));
|
||||
}
|
||||
|
||||
static void
|
||||
_e_dialog_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event)
|
||||
_e_dialog_cb_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
|
||||
{
|
||||
Evas_Event_Key_Down *ev;
|
||||
E_Dialog *dia;
|
||||
|
|
|
@ -1165,7 +1165,7 @@ _e_drag_free(E_Drag *drag)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_key_down(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_key_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Key *ev = event;
|
||||
|
||||
|
@ -1180,7 +1180,7 @@ _e_dnd_cb_key_down(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_key_up(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_key_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Key *ev = event;
|
||||
|
||||
|
@ -1195,7 +1195,7 @@ _e_dnd_cb_key_up(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_mouse_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Mouse_Button *ev = event;
|
||||
|
||||
|
@ -1207,7 +1207,7 @@ _e_dnd_cb_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Mouse_Move *ev = event;
|
||||
|
||||
|
@ -1224,7 +1224,7 @@ _e_dnd_cb_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_dnd_enter(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_event_dnd_enter(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_X_Event_Xdnd_Enter *ev = event;
|
||||
E_Drop_Handler *h;
|
||||
|
@ -1260,7 +1260,7 @@ _e_dnd_cb_event_dnd_enter(void *data __UNUSED__, int type __UNUSED__, void *even
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_dnd_leave(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_event_dnd_leave(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_X_Event_Xdnd_Leave *ev = event;
|
||||
E_Event_Dnd_Leave leave_ev;
|
||||
|
@ -1292,7 +1292,7 @@ _e_dnd_cb_event_dnd_leave(void *data __UNUSED__, int type __UNUSED__, void *even
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_hide(void *data __UNUSED__, int type __UNUSED__, Ecore_X_Event_Window_Hide *ev)
|
||||
_e_dnd_cb_event_hide(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Window_Hide *ev)
|
||||
{
|
||||
E_Event_Dnd_Leave leave_ev;
|
||||
const char *id;
|
||||
|
@ -1329,7 +1329,7 @@ _e_dnd_cb_event_hide(void *data __UNUSED__, int type __UNUSED__, Ecore_X_Event_W
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_dnd_position(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_event_dnd_position(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_X_Event_Xdnd_Position *ev = event;
|
||||
Ecore_X_Rectangle rect;
|
||||
|
@ -1364,7 +1364,7 @@ _e_dnd_cb_event_dnd_position(void *data __UNUSED__, int type __UNUSED__, void *e
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_dnd_status(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_event_dnd_status(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_X_Event_Xdnd_Status *ev = event;
|
||||
|
||||
|
@ -1373,7 +1373,7 @@ _e_dnd_cb_event_dnd_status(void *data __UNUSED__, int type __UNUSED__, void *eve
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_dnd_finished(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_dnd_cb_event_dnd_finished(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
/*
|
||||
* this is broken since the completed flag doesn't tell us anything with current
|
||||
|
@ -1394,7 +1394,7 @@ _e_dnd_cb_event_dnd_finished(void *data __UNUSED__, int type __UNUSED__, void *e
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_dnd_drop(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_event_dnd_drop(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_X_Event_Xdnd_Drop *ev = event;
|
||||
|
||||
|
@ -1429,7 +1429,7 @@ _e_dnd_cb_event_dnd_drop(void *data __UNUSED__, int type __UNUSED__, void *event
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dnd_cb_event_dnd_selection(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_dnd_cb_event_dnd_selection(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_X_Event_Selection_Notify *ev = event;
|
||||
int i;
|
||||
|
|
|
@ -94,28 +94,28 @@ e_dpms_force_update(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dpms_handler_config_mode_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_dpms_handler_config_mode_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
e_dpms_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dpms_handler_border_fullscreen_check_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_dpms_handler_border_fullscreen_check_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
if (e_config->no_dpms_on_fullscreen) e_dpms_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dpms_handler_border_desk_set_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_dpms_handler_border_desk_set_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
if (e_config->no_dpms_on_fullscreen) e_dpms_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_dpms_handler_desk_show_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_dpms_handler_desk_show_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
if (e_config->no_dpms_on_fullscreen) e_dpms_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
|
|
|
@ -91,7 +91,7 @@ _e_entry_dialog_free(E_Entry_Dialog *ed)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_entry_dialog_ok(void *data, E_Dialog *dia __UNUSED__)
|
||||
_e_entry_dialog_ok(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Entry_Dialog *ed;
|
||||
|
||||
|
@ -103,7 +103,7 @@ _e_entry_dialog_ok(void *data, E_Dialog *dia __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_entry_dialog_cancel(void *data, E_Dialog *dia __UNUSED__)
|
||||
_e_entry_dialog_cancel(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Entry_Dialog *ed;
|
||||
|
||||
|
@ -121,7 +121,7 @@ _e_entry_dialog_delete(E_Dialog *dia, Evas *e EINA_UNUSED, Evas_Object *obj EINA
|
|||
}
|
||||
|
||||
static void
|
||||
_e_entry_cb_key_down(void *data, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_entry_cb_key_down(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Key_Down *ev;
|
||||
E_Entry_Dialog *ed;
|
||||
|
|
|
@ -54,7 +54,7 @@ static void _e_exec_cb_exec_new_free(void *data, void *event);
|
|||
static void _e_exec_cb_exec_new_client_free(void *data, void *ev);
|
||||
static void _e_exec_cb_exec_del_free(void *data, void *event);
|
||||
static void _e_exe_instance_watchers_call(E_Exec_Instance *inst, E_Exec_Watch_Type type);
|
||||
static Eina_Bool _e_exec_startup_id_pid_find(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *value, void *data);
|
||||
static Eina_Bool _e_exec_startup_id_pid_find(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *value, void *data);
|
||||
|
||||
static void _e_exec_error_dialog(Efreet_Desktop *desktop, const char *exec, Ecore_Exe_Event_Del *event, Ecore_Exe_Event_Data *error, Ecore_Exe_Event_Data *read);
|
||||
static void _fill_data(E_Config_Dialog_Data *cfdata);
|
||||
|
@ -719,7 +719,7 @@ _e_exec_cb_exec_del_free(void *data, void *ev EINA_UNUSED)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_exec_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_exec_cb_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *ev;
|
||||
E_Exec_Instance *inst;
|
||||
|
@ -810,7 +810,7 @@ _e_exec_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_exec_startup_id_pid_find(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *value, void *data)
|
||||
_e_exec_startup_id_pid_find(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *value, void *data)
|
||||
{
|
||||
E_Exec_Search *search;
|
||||
E_Exec_Instance *inst;
|
||||
|
@ -961,7 +961,7 @@ _create_data(E_Config_Dialog *cfd)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
if (cfdata->error) ecore_exe_event_data_free(cfdata->error);
|
||||
if (cfdata->read) ecore_exe_event_data_free(cfdata->read);
|
||||
|
@ -1023,7 +1023,7 @@ _dialog_scrolltext_create(Evas *evas, char *title, Ecore_Exe_Event_Data_Line *li
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
char buf[4096];
|
||||
int error_length = 0;
|
||||
|
@ -1066,7 +1066,7 @@ _basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dial
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
char buf[4096];
|
||||
int read_length = 0;
|
||||
|
@ -1149,7 +1149,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_D
|
|||
}
|
||||
|
||||
static void
|
||||
_dialog_save_cb(void *data __UNUSED__, void *data2)
|
||||
_dialog_save_cb(void *data EINA_UNUSED, void *data2)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
FILE *f;
|
||||
|
|
|
@ -524,7 +524,7 @@ _e_exehist_normalize_exe(const char *exe)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_exehist_cb_unload(void *data __UNUSED__)
|
||||
_e_exehist_cb_unload(void *data EINA_UNUSED)
|
||||
{
|
||||
if (_e_exehist_changes)
|
||||
{
|
||||
|
|
|
@ -14,9 +14,9 @@ struct _Filereg_Item
|
|||
int ref_count;
|
||||
};
|
||||
|
||||
static Eina_Bool _filereg_hash_cb_free(const Eina_Hash *hash __UNUSED__,
|
||||
const void *key __UNUSED__,
|
||||
void *data, void *fdata __UNUSED__);
|
||||
static Eina_Bool _filereg_hash_cb_free(const Eina_Hash *hash EINA_UNUSED,
|
||||
const void *key EINA_UNUSED,
|
||||
void *data, void *fdata EINA_UNUSED);
|
||||
|
||||
/* Externally accessible functions */
|
||||
EINTERN int
|
||||
|
@ -82,8 +82,8 @@ e_filereg_file_protected(const char *path)
|
|||
|
||||
/* Private Functions */
|
||||
static Eina_Bool
|
||||
_filereg_hash_cb_free(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__,
|
||||
void *data, void *fdata __UNUSED__)
|
||||
_filereg_hash_cb_free(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED,
|
||||
void *data, void *fdata EINA_UNUSED)
|
||||
{
|
||||
Filereg_Item *fi;
|
||||
|
||||
|
|
|
@ -512,7 +512,7 @@ _e_flowlayout_smart_disown(Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_flowlayout_smart_item_del_hook(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_flowlayout_smart_item_del_hook(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
e_flowlayout_unpack(obj);
|
||||
}
|
||||
|
|
182
src/bin/e_fm.c
182
src/bin/e_fm.c
|
@ -345,7 +345,7 @@ static void _e_fm2_cb_resize_job(void *data);
|
|||
static int _e_fm2_cb_icon_sort(const void *data1, const void *data2);
|
||||
static Eina_Bool _e_fm2_cb_scan_timer(void *data);
|
||||
static Eina_Bool _e_fm2_cb_sort_idler(void *data);
|
||||
static Eina_Bool _e_fm2_cb_theme(void *data, int type __UNUSED__, void *event __UNUSED__);
|
||||
static Eina_Bool _e_fm2_cb_theme(void *data, int type EINA_UNUSED, void *event EINA_UNUSED);
|
||||
|
||||
static void _e_fm2_obj_icons_place(E_Fm2_Smart_Data *sd);
|
||||
|
||||
|
@ -388,7 +388,7 @@ static void _e_fm2_file_rename(void *data, E_Menu *m, E_Menu_Item *mi);
|
|||
static void _e_fm2_file_rename_delete_cb(void *obj);
|
||||
static void _e_fm2_file_rename_yes_cb(void *data, char *text);
|
||||
static void _e_fm2_file_rename_no_cb(void *data);
|
||||
static void _e_fm2_file_application_properties(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__);
|
||||
static void _e_fm2_file_application_properties(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED);
|
||||
static void _e_fm2_file_properties(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_fm2_file_properties_delete_cb(void *obj);
|
||||
static int _e_fm2_file_do_rename(const char *text, E_Fm2_Icon *ic);
|
||||
|
@ -666,14 +666,14 @@ _e_fm2_icon_mime_size_normalize(const E_Fm2_Icon *ic)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_mime_flush_cb(void *data __UNUSED__)
|
||||
_e_fm2_mime_flush_cb(void *data EINA_UNUSED)
|
||||
{
|
||||
efreet_mime_type_cache_flush();
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_mime_clear_cb(void *data __UNUSED__)
|
||||
_e_fm2_mime_clear_cb(void *data EINA_UNUSED)
|
||||
{
|
||||
efreet_mime_type_cache_clear();
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
|
@ -750,7 +750,7 @@ _e_fm2_op_registry_entry_print(const E_Fm2_Op_Registry_Entry *ere)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_op_registry_entry_add_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_fm2_op_registry_entry_add_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
const E_Fm2_Op_Registry_Entry *ere = event;
|
||||
DBG("E FM OPERATION STARTED: id=%d, op=%d", ere->id, ere->op);
|
||||
|
@ -758,7 +758,7 @@ _e_fm2_op_registry_entry_add_cb(void *data __UNUSED__, int type __UNUSED__, void
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_op_registry_entry_del_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_fm2_op_registry_entry_del_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
const E_Fm2_Op_Registry_Entry *ere = event;
|
||||
puts("E FM OPERATION FINISHED:");
|
||||
|
@ -768,7 +768,7 @@ _e_fm2_op_registry_entry_del_cb(void *data __UNUSED__, int type __UNUSED__, void
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_op_registry_entry_changed_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_fm2_op_registry_entry_changed_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
const E_Fm2_Op_Registry_Entry *ere = event;
|
||||
puts("E FM OPERATION CHANGED:");
|
||||
|
@ -1009,13 +1009,13 @@ _e_fm2_path_parent_set(Evas_Object *obj, const char *path)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_favorites_thread_cb(void *d __UNUSED__, Ecore_Thread *et __UNUSED__)
|
||||
_e_fm2_favorites_thread_cb(void *d EINA_UNUSED, Ecore_Thread *et EINA_UNUSED)
|
||||
{
|
||||
e_fm2_favorites_init();
|
||||
}
|
||||
|
||||
static void
|
||||
_e_fm2_thread_cleanup_cb(void *d __UNUSED__, Ecore_Thread *et __UNUSED__)
|
||||
_e_fm2_thread_cleanup_cb(void *d EINA_UNUSED, Ecore_Thread *et EINA_UNUSED)
|
||||
{
|
||||
_e_fm2_favorites_thread = NULL;
|
||||
}
|
||||
|
@ -1832,7 +1832,7 @@ _e_fm2_path_join(char *buf, int buflen, const char *base, const char *component)
|
|||
* @see _e_fm2_icon_explicit_get()
|
||||
*/
|
||||
static Evas_Object *
|
||||
_e_fm2_icon_explicit_edje_get(Evas *evas, const E_Fm2_Icon *ic __UNUSED__, const char *iconpath, const char **type_ret)
|
||||
_e_fm2_icon_explicit_edje_get(Evas *evas, const E_Fm2_Icon *ic EINA_UNUSED, const char *iconpath, const char **type_ret)
|
||||
{
|
||||
Evas_Object *o = edje_object_add(evas);
|
||||
if (!o)
|
||||
|
@ -1857,7 +1857,7 @@ _e_fm2_icon_explicit_edje_get(Evas *evas, const E_Fm2_Icon *ic __UNUSED__, const
|
|||
* @see _e_fm2_icon_explicit_get()
|
||||
*/
|
||||
static Evas_Object *
|
||||
_e_fm2_icon_explicit_theme_icon_get(Evas *evas, const E_Fm2_Icon *ic __UNUSED__, const char *name, const char **type_ret)
|
||||
_e_fm2_icon_explicit_theme_icon_get(Evas *evas, const E_Fm2_Icon *ic EINA_UNUSED, const char *name, const char **type_ret)
|
||||
{
|
||||
Evas_Object *o = e_icon_add(evas);
|
||||
|
||||
|
@ -2023,7 +2023,7 @@ _e_fm2_icon_thumb_edje_get(Evas *evas, const E_Fm2_Icon *ic, Evas_Smart_Cb cb, v
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_icon_cache_update(void *data, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_fm2_icon_cache_update(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
_e_fm2_icons_update_helper(data, EINA_TRUE);
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
|
@ -2103,7 +2103,7 @@ _e_fm2_icon_mime_fdo_get(Evas *evas, const E_Fm2_Icon *ic, const char **type_ret
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_e_fm2_icon_mime_theme_get(Evas *evas, const E_Fm2_Icon *ic, const char **type_ret __UNUSED__)
|
||||
_e_fm2_icon_mime_theme_get(Evas *evas, const E_Fm2_Icon *ic, const char **type_ret EINA_UNUSED)
|
||||
{
|
||||
char buf[1024];
|
||||
const char *file;
|
||||
|
@ -2132,7 +2132,7 @@ _e_fm2_icon_mime_theme_get(Evas *evas, const E_Fm2_Icon *ic, const char **type_r
|
|||
* Use mime type information to set icon.
|
||||
*/
|
||||
static Evas_Object *
|
||||
_e_fm2_icon_mime_get(Evas *evas, const E_Fm2_Icon *ic, Evas_Smart_Cb gen_func __UNUSED__, void *data __UNUSED__, int force_gen __UNUSED__, const char **type_ret)
|
||||
_e_fm2_icon_mime_get(Evas *evas, const E_Fm2_Icon *ic, Evas_Smart_Cb gen_func EINA_UNUSED, void *data EINA_UNUSED, int force_gen EINA_UNUSED, const char **type_ret)
|
||||
{
|
||||
Evas_Object *o = NULL;
|
||||
|
||||
|
@ -2521,7 +2521,7 @@ _e_fm2_client_file_trash(const char *path, Evas_Object *e_fm)
|
|||
}
|
||||
|
||||
static int
|
||||
_e_fm2_client_file_mkdir(const char *path, const char *rel, int rel_to, int x, int y, int res_w __UNUSED__, int res_h __UNUSED__, Evas_Object *e_fm)
|
||||
_e_fm2_client_file_mkdir(const char *path, const char *rel, int rel_to, int x, int y, int res_w EINA_UNUSED, int res_h EINA_UNUSED, Evas_Object *e_fm)
|
||||
{
|
||||
char *d;
|
||||
int l1, l2, l, id;
|
||||
|
@ -3695,7 +3695,7 @@ _e_fm2_file_symlink(Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_cut_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_cut_menu(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
if (!sd) return;
|
||||
|
@ -3703,7 +3703,7 @@ _e_fm2_file_cut_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED_
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_copy_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_copy_menu(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
if (!sd) return;
|
||||
|
@ -3711,7 +3711,7 @@ _e_fm2_file_copy_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_paste_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_paste_menu(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
if (!sd) return;
|
||||
|
@ -3719,7 +3719,7 @@ _e_fm2_file_paste_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_symlink_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_symlink_menu(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
if (!sd) return;
|
||||
|
@ -4562,7 +4562,7 @@ _e_fm2_icon_unfill(E_Fm2_Icon *ic)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_icon_geom_adjust(E_Fm2_Icon *ic, int saved_x, int saved_y, int saved_w __UNUSED__, int saved_h __UNUSED__, int saved_res_w, int saved_res_h)
|
||||
_e_fm2_icon_geom_adjust(E_Fm2_Icon *ic, int saved_x, int saved_y, int saved_w EINA_UNUSED, int saved_h EINA_UNUSED, int saved_res_w, int saved_res_h)
|
||||
{
|
||||
int qx, qy, rx, ry, x, y;
|
||||
|
||||
|
@ -4820,7 +4820,7 @@ _e_fm2_icon_free(E_Fm2_Icon *ic)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_icon_label_click(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_fm2_icon_label_click(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Icon *ic = data;
|
||||
if (ic->entry_widget || ic->entry_dialog) return;
|
||||
|
@ -5139,7 +5139,7 @@ e_fm2_desktop_url_eval(const char *val)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_eio_stat(void *data, Eio_File *handler __UNUSED__, const Eina_Stat *st)
|
||||
_e_fm2_cb_eio_stat(void *data, Eio_File *handler EINA_UNUSED, const Eina_Stat *st)
|
||||
{
|
||||
E_Fm2_Icon *ic = data;
|
||||
ic->eio = NULL;
|
||||
|
@ -5162,7 +5162,7 @@ _e_fm2_cb_eio_stat(void *data, Eio_File *handler __UNUSED__, const Eina_Stat *st
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_eio_err(void *data, Eio_File *handler __UNUSED__, int error __UNUSED__)
|
||||
_e_fm2_cb_eio_err(void *data, Eio_File *handler EINA_UNUSED, int error EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Icon *ic = data;
|
||||
ic->eio = NULL;
|
||||
|
@ -6451,7 +6451,7 @@ _e_fm2_cb_dnd_move(void *data, const char *type, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_dnd_leave(void *data, const char *type, void *event __UNUSED__)
|
||||
_e_fm2_cb_dnd_leave(void *data, const char *type, void *event EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
||||
|
@ -6564,7 +6564,7 @@ _e_fm_drop_menu_queue(Evas_Object *e_fm, void *args, int op)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_drop_menu_copy_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm_drop_menu_copy_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
char *args;
|
||||
|
||||
|
@ -6575,7 +6575,7 @@ _e_fm_drop_menu_copy_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_drop_menu_move_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm_drop_menu_move_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
char *args;
|
||||
|
||||
|
@ -6586,7 +6586,7 @@ _e_fm_drop_menu_move_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_drop_menu_symlink_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm_drop_menu_symlink_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
char *args;
|
||||
|
||||
|
@ -6597,7 +6597,7 @@ _e_fm_drop_menu_symlink_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __U
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_drop_menu_abort_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm_drop_menu_abort_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
free(evas_object_data_del(data, "drop_menu_data"));
|
||||
}
|
||||
|
@ -7290,7 +7290,7 @@ _e_fm2_mouse_1_handler(E_Fm2_Icon *ic, int up, void *evas_event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_cb_icon_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Fm2_Icon *ic;
|
||||
|
@ -7347,7 +7347,7 @@ _e_fm2_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_icon_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_cb_icon_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Up *ev = event_info;
|
||||
E_Fm2_Icon *ic = data;
|
||||
|
@ -7384,7 +7384,7 @@ _e_fm2_cb_drag_finished_show(E_Fm2_Icon *ic)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_drag_finished(E_Drag *drag, int dropped __UNUSED__)
|
||||
_e_fm2_cb_drag_finished(E_Drag *drag, int dropped EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Uri *uri;
|
||||
const char *p;
|
||||
|
@ -7509,7 +7509,7 @@ _e_fm_drag_key_up_cb(E_Drag *drag, Ecore_Event_Key *e)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_icon_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_cb_icon_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_In *ev;
|
||||
E_Fm2_Icon *ic;
|
||||
|
@ -7523,7 +7523,7 @@ _e_fm2_cb_icon_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_icon_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_cb_icon_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Out *ev;
|
||||
E_Fm2_Icon *ic;
|
||||
|
@ -7536,7 +7536,7 @@ _e_fm2_cb_icon_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_icon_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_cb_icon_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Move *ev;
|
||||
E_Fm2_Icon *ic;
|
||||
|
@ -7706,7 +7706,7 @@ _e_fm2_cb_icon_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_icon_thumb_dnd_gen(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_fm2_cb_icon_thumb_dnd_gen(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Object *o;
|
||||
Evas_Coord w = 0, h = 0;
|
||||
|
@ -7728,7 +7728,7 @@ _e_fm2_cb_icon_thumb_dnd_gen(void *data, Evas_Object *obj, void *event_info __UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_icon_thumb_gen(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_fm2_cb_icon_thumb_gen(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Icon *ic;
|
||||
const char *file;
|
||||
|
@ -7768,7 +7768,7 @@ _e_fm2_cb_icon_thumb_gen(void *data, Evas_Object *obj, void *event_info __UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
|
||||
_e_fm2_cb_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
|
||||
{
|
||||
Evas_Event_Key_Down *ev = event_info;
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
@ -7972,7 +7972,7 @@ _e_fm2_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
@ -8040,7 +8040,7 @@ _e_fm2_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_fm2_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
||||
|
@ -8053,7 +8053,7 @@ _e_fm2_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Move *ev;
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
@ -8390,7 +8390,7 @@ _e_fm2_cb_sort_idler(void *data)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_cb_theme(void *data, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_fm2_cb_theme(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
e_fm2_refresh(data);
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
|
@ -8724,7 +8724,7 @@ _e_fm2_smart_clip_unset(Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_overlay_clip_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_fm2_overlay_clip_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
int w, h;
|
||||
|
@ -8734,7 +8734,7 @@ _e_fm2_overlay_clip_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj, voi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_overlay_clip_move(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_fm2_overlay_clip_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
int x, y;
|
||||
|
@ -8744,7 +8744,7 @@ _e_fm2_overlay_clip_move(void *data, Evas *e __UNUSED__, Evas_Object *obj, void
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_sorting_change_case(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_sorting_change_case(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -8753,7 +8753,7 @@ _e_fm2_view_menu_sorting_change_case(void *data, E_Menu *m __UNUSED__, E_Menu_It
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_sorting_change_size(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_sorting_change_size(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -8762,7 +8762,7 @@ _e_fm2_view_menu_sorting_change_size(void *data, E_Menu *m __UNUSED__, E_Menu_It
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_sorting_change_mtime(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_sorting_change_mtime(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -8771,7 +8771,7 @@ _e_fm2_view_menu_sorting_change_mtime(void *data, E_Menu *m __UNUSED__, E_Menu_I
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_sorting_change_extension(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_sorting_change_extension(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -8780,7 +8780,7 @@ _e_fm2_view_menu_sorting_change_extension(void *data, E_Menu *m __UNUSED__, E_Me
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_sorting_change_dirs_first(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_sorting_change_dirs_first(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -8791,7 +8791,7 @@ _e_fm2_view_menu_sorting_change_dirs_first(void *data, E_Menu *m __UNUSED__, E_M
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_sorting_change_dirs_last(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_sorting_change_dirs_last(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -8802,7 +8802,7 @@ _e_fm2_view_menu_sorting_change_dirs_last(void *data, E_Menu *m __UNUSED__, E_Me
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_sorting_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_sorting_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
E_Menu *subm;
|
||||
|
@ -8985,7 +8985,7 @@ _e_fm2_menu(Evas_Object *obj, unsigned int timestamp)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_menu_post_cb(void *data, E_Menu *m __UNUSED__)
|
||||
_e_fm2_menu_post_cb(void *data, E_Menu *m EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
||||
|
@ -9371,7 +9371,7 @@ _e_fm2_context_list_sort(const void *data1, const void *data2)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_icon_menu_post_cb(void *data, E_Menu *m __UNUSED__)
|
||||
_e_fm2_icon_menu_post_cb(void *data, E_Menu *m EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Context_Menu_Data *md;
|
||||
E_Fm2_Icon *ic;
|
||||
|
@ -9383,7 +9383,7 @@ _e_fm2_icon_menu_post_cb(void *data, E_Menu *m __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_icon_menu_item_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_icon_menu_item_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Context_Menu_Data *md = NULL;
|
||||
Evas_Object *obj = NULL;
|
||||
|
@ -9451,7 +9451,7 @@ _e_fm2_view_menu_icon_size_use_default(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_icon_size_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_fm2_view_menu_icon_size_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
E_Menu *subm;
|
||||
|
@ -9591,7 +9591,7 @@ _e_fm2_icon_view_menu_pre(void *data, E_Menu *subm)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_dir_notify(void *data, Ecore_Thread *eth __UNUSED__, char *filename)
|
||||
_e_fm2_new_dir_notify(void *data, Ecore_Thread *eth EINA_UNUSED, char *filename)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -9606,7 +9606,7 @@ _e_fm2_new_dir_notify(void *data, Ecore_Thread *eth __UNUSED__, char *filename)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_file_notify(void *data, Ecore_Thread *eth __UNUSED__, char *filename)
|
||||
_e_fm2_new_file_notify(void *data, Ecore_Thread *eth EINA_UNUSED, char *filename)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -9711,19 +9711,19 @@ error:
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_file_thread(void *data __UNUSED__, Ecore_Thread *eth)
|
||||
_e_fm2_new_file_thread(void *data EINA_UNUSED, Ecore_Thread *eth)
|
||||
{
|
||||
_e_fm2_new_thread_helper(eth, EINA_FALSE);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_dir_thread(void *data __UNUSED__, Ecore_Thread *eth)
|
||||
_e_fm2_new_dir_thread(void *data EINA_UNUSED, Ecore_Thread *eth)
|
||||
{
|
||||
_e_fm2_new_thread_helper(eth, EINA_TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_file_end(void *data, Ecore_Thread *eth __UNUSED__)
|
||||
_e_fm2_new_file_end(void *data, Ecore_Thread *eth EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
sd->new_file.thread = NULL;
|
||||
|
@ -9734,7 +9734,7 @@ _e_fm2_new_file_end(void *data, Ecore_Thread *eth __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_file_cancel(void *data, Ecore_Thread *eth __UNUSED__)
|
||||
_e_fm2_new_file_cancel(void *data, Ecore_Thread *eth EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
sd->new_file.thread = NULL;
|
||||
|
@ -9744,7 +9744,7 @@ _e_fm2_new_file_cancel(void *data, Ecore_Thread *eth __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_file(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_new_file(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -9765,7 +9765,7 @@ _e_fm2_new_file(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_new_directory(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_new_directory(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -9806,13 +9806,13 @@ _e_fm2_add_menu_pre(void *data, E_Menu *subm)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_settings_icon_item(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_settings_icon_item(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
e_configure_registry_call("fileman/file_icons", NULL, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_fm2_settings_item(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_settings_item(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
e_configure_registry_call("fileman/fileman", NULL, NULL);
|
||||
}
|
||||
|
@ -9936,7 +9936,7 @@ _e_fm2_view_menu_del(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_clear_background_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_clear_background_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
||||
|
@ -9948,7 +9948,7 @@ _clear_background_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED_
|
|||
}
|
||||
|
||||
static void
|
||||
_clear_overlay_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_clear_overlay_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -10190,7 +10190,7 @@ _set_background_cb(void *data, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_set_background_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_view_menu_set_background_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -10218,7 +10218,7 @@ _set_overlay_cb(void *data, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_view_menu_set_overlay_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_view_menu_set_overlay_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -10228,7 +10228,7 @@ _e_fm2_view_menu_set_overlay_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *m
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_refresh(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_refresh(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
||||
|
@ -10253,7 +10253,7 @@ _e_fm2_toggle_hidden_files(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_toggle_secure_rm(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_toggle_secure_rm(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd = data;
|
||||
|
||||
|
@ -10261,7 +10261,7 @@ _e_fm2_toggle_secure_rm(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_toggle_single_click(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_toggle_single_click(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Smart_Data *sd;
|
||||
|
||||
|
@ -10306,7 +10306,7 @@ _e_fm2_sort(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_rename(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_rename(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Icon *ic;
|
||||
char text[PATH_MAX + 256];
|
||||
|
@ -10398,7 +10398,7 @@ _e_fm2_icon_entry_widget_del(E_Fm2_Icon *ic)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_icon_entry_widget_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_fm2_icon_entry_widget_cb_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Key_Down *ev;
|
||||
E_Fm2_Icon *ic;
|
||||
|
@ -10538,7 +10538,7 @@ _e_fm_retry_abort_dialog(int pid, const char *str)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_retry_abort_retry_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_retry_abort_retry_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10547,7 +10547,7 @@ _e_fm_retry_abort_retry_cb(void *data __UNUSED__, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_retry_abort_abort_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_retry_abort_abort_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_aborted(id);
|
||||
|
@ -10600,7 +10600,7 @@ _e_fm_overwrite_dialog(int pid, const char *str)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_overwrite_no_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_overwrite_no_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10609,7 +10609,7 @@ _e_fm_overwrite_no_cb(void *data __UNUSED__, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_overwrite_no_all_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_overwrite_no_all_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10666,7 +10666,7 @@ _e_fm_overwrite_rename_yes_cb(void *data, char *text)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_overwrite_rename(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_overwrite_rename(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
char text[PATH_MAX + 256];
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
|
@ -10693,7 +10693,7 @@ _e_fm_overwrite_rename(void *data __UNUSED__, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_overwrite_yes_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_overwrite_yes_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10702,7 +10702,7 @@ _e_fm_overwrite_yes_cb(void *data __UNUSED__, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_overwrite_yes_all_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_overwrite_yes_all_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10768,7 +10768,7 @@ _e_fm_error_dialog(int pid, const char *str)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_error_retry_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_error_retry_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10777,7 +10777,7 @@ _e_fm_error_retry_cb(void *data __UNUSED__, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_error_abort_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_error_abort_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_aborted(id);
|
||||
|
@ -10827,7 +10827,7 @@ _e_fm_error_link_source(void *data, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_error_ignore_this_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_error_ignore_this_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10836,7 +10836,7 @@ _e_fm_error_ignore_this_cb(void *data __UNUSED__, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_error_ignore_all_cb(void *data __UNUSED__, E_Dialog *dialog)
|
||||
_e_fm_error_ignore_all_cb(void *data EINA_UNUSED, E_Dialog *dialog)
|
||||
{
|
||||
int id = (int)(intptr_t)E_OBJECT(dialog)->data;
|
||||
_e_fm2_op_registry_go_on(id);
|
||||
|
@ -10872,7 +10872,7 @@ _e_fm_device_error_dialog(const char *title, const char *msg, const char *pstr)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_application_properties(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_application_properties(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
Efreet_Desktop *desktop;
|
||||
E_Fm2_Icon *ic;
|
||||
|
@ -10887,7 +10887,7 @@ _e_fm2_file_application_properties(void *data, E_Menu *m __UNUSED__, E_Menu_Item
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_properties(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_properties(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Icon *ic;
|
||||
|
||||
|
@ -10910,7 +10910,7 @@ _e_fm2_file_properties_delete_cb(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_file_delete_menu(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_file_delete_menu(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Icon *ic = data;
|
||||
if ((!ic) || (!ic->sd)) return;
|
||||
|
@ -11062,7 +11062,7 @@ _e_fm2_file_delete_no_cb(void *data, E_Dialog *dialog)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_sys_suspend_hibernate(void *d __UNUSED__, int type __UNUSED__, void *ev __UNUSED__)
|
||||
_e_fm2_sys_suspend_hibernate(void *d EINA_UNUSED, int type EINA_UNUSED, void *ev EINA_UNUSED)
|
||||
{
|
||||
Eina_List *l, *ll, *lll;
|
||||
E_Volume *v;
|
||||
|
@ -11388,7 +11388,7 @@ _e_fm2_theme_edje_icon_object_set(E_Fm2_Smart_Data *sd, Evas_Object *o, const ch
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_volume_mount(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_volume_mount(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Volume *v;
|
||||
const char *mp;
|
||||
|
@ -11402,7 +11402,7 @@ _e_fm2_volume_mount(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_volume_unmount(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_volume_unmount(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Volume *v;
|
||||
|
||||
|
@ -11414,7 +11414,7 @@ _e_fm2_volume_unmount(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_volume_eject(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_fm2_volume_eject(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Volume *v;
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ _e_fm_ipc_init(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_ipc_cb_server_add(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_fm_ipc_cb_server_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Ipc_Event_Server_Add *e;
|
||||
|
||||
|
@ -203,7 +203,7 @@ _e_fm_ipc_cb_server_add(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_ipc_cb_server_del(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_fm_ipc_cb_server_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
/* quit now */
|
||||
ecore_main_loop_quit();
|
||||
|
@ -485,7 +485,7 @@ _e_fm_ipc_mkdir_try(E_Fm_Task *task)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_ipc_mkdir(int id, const char *src, const char *rel, int rel_to __UNUSED__, int x, int y)
|
||||
_e_fm_ipc_mkdir(int id, const char *src, const char *rel, int rel_to EINA_UNUSED, int x, int y)
|
||||
{
|
||||
E_Fm_Task *task;
|
||||
|
||||
|
@ -540,7 +540,7 @@ _e_fm_ipc_handle_error_response(int id, E_Fm_Op_Type type)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_ipc_cb_server_data(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_fm_ipc_cb_server_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Ipc_Event_Server_Data *e;
|
||||
|
||||
|
@ -821,7 +821,7 @@ _e_fm_ipc_slave_send(E_Fm_Slave *slave, E_Fm_Op_Type type, void *data, int size)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
_e_fm_ipc_slave_data_cb(void *data, int type __UNUSED__, void *event)
|
||||
_e_fm_ipc_slave_data_cb(void *data, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Data *e = event;
|
||||
E_Fm_Slave *slave;
|
||||
|
@ -876,7 +876,7 @@ _e_fm_ipc_slave_data_cb(void *data, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
_e_fm_ipc_slave_error_cb(void *data, int type __UNUSED__, void *event)
|
||||
_e_fm_ipc_slave_error_cb(void *data, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Data *e = event;
|
||||
E_Fm_Slave *slave;
|
||||
|
@ -894,7 +894,7 @@ _e_fm_ipc_slave_error_cb(void *data, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
_e_fm_ipc_slave_del_cb(void *data, int type __UNUSED__, void *event)
|
||||
_e_fm_ipc_slave_del_cb(void *data, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *e = event;
|
||||
E_Fm_Slave *slave;
|
||||
|
@ -916,7 +916,7 @@ _e_fm_ipc_slave_del_cb(void *data, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_ipc_cb_file_monitor(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED__, Ecore_File_Event event, const char *path)
|
||||
_e_fm_ipc_cb_file_monitor(void *data EINA_UNUSED, Ecore_File_Monitor *em EINA_UNUSED, Ecore_File_Event event, const char *path)
|
||||
{
|
||||
E_Dir *ed;
|
||||
char *dir, *rp, *drp;
|
||||
|
@ -1368,7 +1368,7 @@ _e_fm_ipc_prepare_command(E_Fm_Op_Type type, const char *args)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_ipc_timer_cb(void *d __UNUSED__)
|
||||
_e_fm_ipc_timer_cb(void *d EINA_UNUSED)
|
||||
{
|
||||
ecore_ipc_server_send(_e_fm_ipc_server,
|
||||
6 /*E_IPC_DOMAIN_FM*/,
|
||||
|
|
|
@ -162,8 +162,8 @@ _e_fm_main_eeze_vol_mount_timeout(E_Volume *v)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_main_eeze_cb_vol_mounted(void *user_data __UNUSED__,
|
||||
int type __UNUSED__,
|
||||
_e_fm_main_eeze_cb_vol_mounted(void *user_data EINA_UNUSED,
|
||||
int type EINA_UNUSED,
|
||||
Eeze_Event_Disk_Mount *ev)
|
||||
{
|
||||
E_Volume *v;
|
||||
|
@ -214,8 +214,8 @@ _e_fm_main_eeze_vol_unmount_timeout(E_Volume *v)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_main_eeze_cb_vol_error(void *user_data __UNUSED__,
|
||||
int type __UNUSED__,
|
||||
_e_fm_main_eeze_cb_vol_error(void *user_data EINA_UNUSED,
|
||||
int type EINA_UNUSED,
|
||||
Eeze_Event_Disk_Error *ev)
|
||||
{
|
||||
E_Volume *v;
|
||||
|
@ -242,8 +242,8 @@ _e_fm_main_eeze_cb_vol_error(void *user_data __UNUSED__,
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_main_eeze_cb_vol_unmounted(void *user_data __UNUSED__,
|
||||
int type __UNUSED__,
|
||||
_e_fm_main_eeze_cb_vol_unmounted(void *user_data EINA_UNUSED,
|
||||
int type EINA_UNUSED,
|
||||
Eeze_Event_Disk_Unmount *ev)
|
||||
{
|
||||
char *buf;
|
||||
|
@ -291,8 +291,8 @@ _e_fm_main_eeze_vol_eject_timeout(E_Volume *v)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_main_eeze_cb_vol_ejected(void *user_data __UNUSED__,
|
||||
int type __UNUSED__,
|
||||
_e_fm_main_eeze_cb_vol_ejected(void *user_data EINA_UNUSED,
|
||||
int type EINA_UNUSED,
|
||||
Eeze_Event_Disk_Eject *ev)
|
||||
{
|
||||
E_Volume *v;
|
||||
|
@ -594,7 +594,7 @@ eet_setup(void)
|
|||
EEZE_SCANNER_EDD_SETUP(es_edd);
|
||||
}
|
||||
static Eina_Bool
|
||||
_scanner_poll(void *data __UNUSED__)
|
||||
_scanner_poll(void *data EINA_UNUSED)
|
||||
{
|
||||
if (svr) return EINA_FALSE;
|
||||
svr = ecore_con_server_connect(ECORE_CON_LOCAL_SYSTEM, "eeze_scanner", 0, NULL);
|
||||
|
@ -603,7 +603,7 @@ _scanner_poll(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_add(void *data, int type __UNUSED__, Ecore_Exe_Event_Add *ev)
|
||||
_scanner_add(void *data, int type EINA_UNUSED, Ecore_Exe_Event_Add *ev)
|
||||
{
|
||||
if (data != ecore_exe_data_get(ev->exe)) return ECORE_CALLBACK_PASS_ON;
|
||||
INF("Scanner started");
|
||||
|
@ -613,7 +613,7 @@ _scanner_add(void *data, int type __UNUSED__, Ecore_Exe_Event_Add *ev)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_del(void *data, int type __UNUSED__, Ecore_Exe_Event_Del *ev)
|
||||
_scanner_del(void *data, int type EINA_UNUSED, Ecore_Exe_Event_Del *ev)
|
||||
{
|
||||
if (data != ecore_exe_data_get(ev->exe)) return ECORE_CALLBACK_PASS_ON;
|
||||
if (!svr)
|
||||
|
@ -633,7 +633,7 @@ _scanner_del(void *data, int type __UNUSED__, Ecore_Exe_Event_Del *ev)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_read(const void *data, size_t size, void *d __UNUSED__)
|
||||
_scanner_read(const void *data, size_t size, void *d EINA_UNUSED)
|
||||
{
|
||||
Eeze_Scanner_Event *ev = NULL;
|
||||
|
||||
|
@ -660,7 +660,7 @@ _scanner_read(const void *data, size_t size, void *d __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_write(const void *eet_data __UNUSED__, size_t size __UNUSED__, void *user_data __UNUSED__)
|
||||
_scanner_write(const void *eet_data EINA_UNUSED, size_t size EINA_UNUSED, void *user_data EINA_UNUSED)
|
||||
{
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
@ -678,7 +678,7 @@ _scanner_run(void)
|
|||
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_con(void *data __UNUSED__, int type __UNUSED__, Ecore_Con_Event_Server_Del *ev __UNUSED__)
|
||||
_scanner_con(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Del *ev EINA_UNUSED)
|
||||
{
|
||||
_e_fm_main_catch(EFM_MODE_USING_EEZE_MOUNT);
|
||||
E_FREE_FUNC(scanner_poller, ecore_poller_del);
|
||||
|
@ -688,7 +688,7 @@ _scanner_con(void *data __UNUSED__, int type __UNUSED__, Ecore_Con_Event_Server_
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_disc(void *data __UNUSED__, int type __UNUSED__, Ecore_Con_Event_Server_Del *ev __UNUSED__)
|
||||
_scanner_disc(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Del *ev EINA_UNUSED)
|
||||
{
|
||||
INF("Scanner disconnected");
|
||||
if (!_scanner_poll(NULL))
|
||||
|
@ -697,14 +697,14 @@ _scanner_disc(void *data __UNUSED__, int type __UNUSED__, Ecore_Con_Event_Server
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_err(void *data __UNUSED__, int type __UNUSED__, Ecore_Con_Event_Server_Error *ev __UNUSED__)
|
||||
_scanner_err(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Error *ev EINA_UNUSED)
|
||||
{
|
||||
INF("Scanner connection error");
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_scanner_data(void *data __UNUSED__, int type __UNUSED__, Ecore_Con_Event_Server_Data *ev)
|
||||
_scanner_data(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Data *ev)
|
||||
{
|
||||
eet_connection_received(es_con, ev->data, ev->size);
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
|
|
|
@ -95,8 +95,8 @@ static E_Volume *_volume_find_by_dbus_path(const char *path);
|
|||
static void _volume_del(E_Volume *v);
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks_name_start(void *data __UNUSED__, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
_e_fm_main_udisks_name_start(void *data EINA_UNUSED, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
unsigned flag = 0;
|
||||
Eldbus_Object *obj;
|
||||
|
@ -120,8 +120,8 @@ _e_fm_main_udisks_name_start(void *data __UNUSED__, const Eldbus_Message *msg,
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_dev_all(void *data __UNUSED__, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
_e_fm_main_udisks_cb_dev_all(void *data EINA_UNUSED, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
const char *name, *txt, *path;
|
||||
Eldbus_Message_Iter *array;
|
||||
|
@ -154,7 +154,7 @@ _e_fm_main_udisks_cb_dev_all(void *data __UNUSED__, const Eldbus_Message *msg,
|
|||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_dev_verify(void *data, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
const char *name, *txt, *id_usage, *path = data;
|
||||
Eldbus_Message_Iter *variant;
|
||||
|
@ -190,7 +190,7 @@ error:
|
|||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_dev_verify_added(void *data, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
const char *name, *txt, *id_usage, *path = data;
|
||||
Eldbus_Message_Iter *variant;
|
||||
|
@ -242,7 +242,7 @@ error:
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_dev_add(void *data __UNUSED__, const Eldbus_Message *msg)
|
||||
_e_fm_main_udisks_cb_dev_add(void *data EINA_UNUSED, const Eldbus_Message *msg)
|
||||
{
|
||||
Eldbus_Message *new;
|
||||
E_Volume *v;
|
||||
|
@ -267,7 +267,7 @@ _e_fm_main_udisks_cb_dev_add(void *data __UNUSED__, const Eldbus_Message *msg)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_dev_del(void *data __UNUSED__, const Eldbus_Message *msg)
|
||||
_e_fm_main_udisks_cb_dev_del(void *data EINA_UNUSED, const Eldbus_Message *msg)
|
||||
{
|
||||
char *path;
|
||||
E_Volume *v;
|
||||
|
@ -286,7 +286,7 @@ _e_fm_main_udisks_cb_dev_del(void *data __UNUSED__, const Eldbus_Message *msg)
|
|||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_prop_modified(void *data,
|
||||
const Eldbus_Message *msg __UNUSED__)
|
||||
const Eldbus_Message *msg EINA_UNUSED)
|
||||
{
|
||||
E_Volume *v = data;
|
||||
eldbus_proxy_property_get_all(v->proxy, _e_fm_main_udisks_cb_vol_prop, v);
|
||||
|
@ -302,7 +302,7 @@ _storage_del(void *data)
|
|||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_store_prop(void *data, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
E_Storage *s = data;
|
||||
const char *name, *txt;
|
||||
|
@ -451,7 +451,7 @@ _idler_volume_del(void *data)
|
|||
|
||||
static void
|
||||
_e_fm_main_udisks_cb_vol_prop(void *data, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
E_Volume *v = data;
|
||||
E_Storage *s = NULL;
|
||||
|
@ -821,8 +821,8 @@ _e_fm_main_udisks_vol_eject_timeout(E_Volume *v)
|
|||
}
|
||||
|
||||
static void
|
||||
_volume_task_cb(void *data __UNUSED__, const Eldbus_Message *msg __UNUSED__,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
_volume_task_cb(void *data EINA_UNUSED, const Eldbus_Message *msg EINA_UNUSED,
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
/**
|
||||
* if eldbus_proxy_send has callback == NULL it will return a NULL
|
||||
|
|
|
@ -128,8 +128,8 @@ _util_fuckyouglib_convert(Eldbus_Message_Iter *fuckyouglib)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks2_name_start(void *data __UNUSED__, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
_e_fm_main_udisks2_name_start(void *data EINA_UNUSED, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
unsigned flag = 0;
|
||||
Eldbus_Object *obj;
|
||||
|
@ -410,8 +410,8 @@ out:
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks2_cb_dev_all(void *data __UNUSED__, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
_e_fm_main_udisks2_cb_dev_all(void *data EINA_UNUSED, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
const char *name, *txt;
|
||||
Eldbus_Message_Iter *arr1, *dict1;
|
||||
|
@ -461,7 +461,7 @@ _e_fm_main_udisks2_cb_vol_props(void *data, const Eldbus_Message *msg, Eldbus_Pe
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks2_cb_dev_add(void *data __UNUSED__, const Eldbus_Message *msg)
|
||||
_e_fm_main_udisks2_cb_dev_add(void *data EINA_UNUSED, const Eldbus_Message *msg)
|
||||
{
|
||||
const char *interface;
|
||||
|
||||
|
@ -539,7 +539,7 @@ _e_fm_main_udisks2_cb_dev_add(void *data __UNUSED__, const Eldbus_Message *msg)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm_main_udisks2_cb_dev_del(void *data __UNUSED__, const Eldbus_Message *msg)
|
||||
_e_fm_main_udisks2_cb_dev_del(void *data EINA_UNUSED, const Eldbus_Message *msg)
|
||||
{
|
||||
char *path, *interface;
|
||||
Eldbus_Message_Iter *arr;
|
||||
|
|
|
@ -17,8 +17,8 @@ static int retval = EXIT_SUCCESS;
|
|||
static int pending = 0;
|
||||
|
||||
static void
|
||||
fm_open_reply(void *data __UNUSED__, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *dbus_pending __UNUSED__)
|
||||
fm_open_reply(void *data EINA_UNUSED, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *dbus_pending EINA_UNUSED)
|
||||
{
|
||||
const char *name, *txt;
|
||||
if (eldbus_message_error_get(msg, &name, &txt))
|
||||
|
@ -32,7 +32,7 @@ fm_open_reply(void *data __UNUSED__, const Eldbus_Message *msg,
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
fm_error_quit_last(void *data __UNUSED__)
|
||||
fm_error_quit_last(void *data EINA_UNUSED)
|
||||
{
|
||||
if (!pending) ecore_main_loop_quit();
|
||||
return EINA_FALSE;
|
||||
|
|
|
@ -281,7 +281,7 @@ struct _E_Custom_List
|
|||
};
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_custom_file_hash_foreach_list(const Eina_Hash *hash __UNUSED__, const void *key, void *data __UNUSED__, void *fdata)
|
||||
_e_fm2_custom_file_hash_foreach_list(const Eina_Hash *hash EINA_UNUSED, const void *key, void *data EINA_UNUSED, void *fdata)
|
||||
{
|
||||
struct _E_Custom_List *cl;
|
||||
|
||||
|
@ -331,14 +331,14 @@ _e_fm2_custom_hash_key_base_list(Eina_Hash *hash, const char *str)
|
|||
*/
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_custom_file_hash_foreach(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
|
||||
_e_fm2_custom_file_hash_foreach(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED)
|
||||
{
|
||||
_e_fm2_custom_file_del(data);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm2_custom_file_hash_foreach_save(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata)
|
||||
_e_fm2_custom_file_hash_foreach_save(const Eina_Hash *hash EINA_UNUSED, const void *key, void *data, void *fdata)
|
||||
{
|
||||
Eet_File *ef;
|
||||
E_Fm2_Custom_File *cf;
|
||||
|
@ -432,7 +432,7 @@ _e_fm2_custom_file_info_free(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_custom_file_cb_defer_save(void *data __UNUSED__)
|
||||
_e_fm2_custom_file_cb_defer_save(void *data EINA_UNUSED)
|
||||
{
|
||||
_e_fm2_custom_file_info_save();
|
||||
_e_fm2_custom_file_info_free();
|
||||
|
|
|
@ -650,7 +650,7 @@ _e_fm2_device_unmount_fail(E_Fm2_Mount *m)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_device_check_desktop_icons_cb_end(void *data __UNUSED__, Ecore_Thread *eth __UNUSED__)
|
||||
_e_fm2_device_check_desktop_icons_cb_end(void *data EINA_UNUSED, Ecore_Thread *eth EINA_UNUSED)
|
||||
{
|
||||
_check_vols = NULL;
|
||||
if (_check_run_show)
|
||||
|
@ -681,7 +681,7 @@ _e_fm2_device_check_desktop_icons_list_cb(const char *name, const char *path, vo
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_device_check_desktop_icons_cb(void *data, Ecore_Thread *eth __UNUSED__)
|
||||
_e_fm2_device_check_desktop_icons_cb(void *data, Ecore_Thread *eth EINA_UNUSED)
|
||||
{
|
||||
eina_file_dir_list(efreet_desktop_dir_get(), EINA_FALSE, _e_fm2_device_check_desktop_icons_list_cb, data);
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ struct _E_Fm2_Mime_Handler_Tuple
|
|||
};
|
||||
|
||||
/* local subsystem functions */
|
||||
static Eina_Bool _e_fm2_mime_handler_glob_match_foreach(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata);
|
||||
static Eina_Bool _e_fm_mime_icon_foreach(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata);
|
||||
static Eina_Bool _e_fm2_mime_handler_glob_match_foreach(const Eina_Hash *hash EINA_UNUSED, const void *key, void *data, void *fdata);
|
||||
static Eina_Bool _e_fm_mime_icon_foreach(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata);
|
||||
|
||||
static Eina_Hash *icon_map = NULL;
|
||||
static Eina_Hash *_mime_handlers = NULL;
|
||||
|
@ -371,7 +371,7 @@ e_fm2_mime_handler_test(E_Fm2_Mime_Handler *handler, Evas_Object *obj, const cha
|
|||
/* local subsystem functions */
|
||||
/* used to loop a glob hash and determine if the glob handler matches the filename */
|
||||
static Eina_Bool
|
||||
_e_fm2_mime_handler_glob_match_foreach(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata)
|
||||
_e_fm2_mime_handler_glob_match_foreach(const Eina_Hash *hash EINA_UNUSED, const void *key, void *data, void *fdata)
|
||||
{
|
||||
E_Fm2_Mime_Handler_Tuple *tuple;
|
||||
Eina_List *handlers = NULL;
|
||||
|
@ -393,7 +393,7 @@ _e_fm2_mime_handler_glob_match_foreach(const Eina_Hash *hash __UNUSED__, const v
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_fm_mime_icon_foreach(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata)
|
||||
_e_fm_mime_icon_foreach(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata)
|
||||
{
|
||||
Eina_List **freelist;
|
||||
|
||||
|
|
|
@ -521,7 +521,7 @@ _e_fm_op_remove_link_task(E_Fm_Op_Task *task)
|
|||
* did not actually read enough data.
|
||||
*/
|
||||
static Eina_Bool
|
||||
_e_fm_op_stdin_data(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler)
|
||||
_e_fm_op_stdin_data(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler)
|
||||
{
|
||||
int fd;
|
||||
static char *buf = NULL;
|
||||
|
@ -730,7 +730,7 @@ _e_fm_op_idler_handle_error(int *mark, Eina_List **queue, Eina_List **node, E_Fm
|
|||
* After this, just finish everything.
|
||||
*/
|
||||
static Eina_Bool
|
||||
_e_fm_op_work_idler(void *data __UNUSED__)
|
||||
_e_fm_op_work_idler(void *data EINA_UNUSED)
|
||||
{
|
||||
/* E_Fm_Op_Task is marked static here because _e_fm_op_work_queue can be populated with another
|
||||
* tasks between calls. So it is possible when a part of file is copied and then
|
||||
|
@ -820,7 +820,7 @@ _e_fm_op_work_idler(void *data __UNUSED__)
|
|||
* for those files. And we don't have _e_fm_op_separator here.
|
||||
*/
|
||||
Eina_Bool
|
||||
_e_fm_op_scan_idler(void *data __UNUSED__)
|
||||
_e_fm_op_scan_idler(void *data EINA_UNUSED)
|
||||
{
|
||||
static Eina_List *node = NULL;
|
||||
E_Fm_Op_Task *task = NULL;
|
||||
|
|
|
@ -27,7 +27,7 @@ struct _E_Fm2_Op_Registry_Entry_Internal
|
|||
};
|
||||
|
||||
static void
|
||||
_e_fm2_op_registry_entry_e_fm_deleted(void *data, Evas *evas __UNUSED__, Evas_Object *e_fm __UNUSED__, void *event __UNUSED__)
|
||||
_e_fm2_op_registry_entry_e_fm_deleted(void *data, Evas *evas EINA_UNUSED, Evas_Object *e_fm EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Op_Registry_Entry *entry = data;
|
||||
|
||||
|
@ -112,7 +112,7 @@ _e_fm2_op_registry_entry_listeners_call(const E_Fm2_Op_Registry_Entry_Internal *
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_op_registry_entry_internal_unref_on_event(void *data, void *event __UNUSED__)
|
||||
_e_fm2_op_registry_entry_internal_unref_on_event(void *data, void *event EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Op_Registry_Entry_Internal *e = data;
|
||||
_e_fm2_op_registry_entry_internal_unref(e);
|
||||
|
@ -170,7 +170,7 @@ e_fm2_op_registry_entry_del(int id)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_fm2_op_registry_entry_internal_unref_on_changed_event(void *data, void *event __UNUSED__)
|
||||
_e_fm2_op_registry_entry_internal_unref_on_changed_event(void *data, void *event EINA_UNUSED)
|
||||
{
|
||||
E_Fm2_Op_Registry_Entry_Internal *e = data;
|
||||
e->changed_event = NULL;
|
||||
|
|
|
@ -171,7 +171,7 @@ _create_data(E_Config_Dialog *cfd)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
if (cfdata->gui.fsel)
|
||||
e_object_del(E_OBJECT(cfdata->gui.fsel));
|
||||
|
@ -192,7 +192,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
|||
|
||||
/**--APPLY--**/
|
||||
static int
|
||||
_basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_basic_apply_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
char buf[PATH_MAX];
|
||||
Eina_Bool fperm = EINA_FALSE;
|
||||
|
@ -633,7 +633,7 @@ _cb_icon_sel(void *data, void *data2)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_type(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_cb_type(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
|
||||
|
@ -645,7 +645,7 @@ _cb_type(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_preview_update(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_cb_preview_update(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
|
||||
|
@ -656,7 +656,7 @@ _cb_preview_update(void *data, Evas_Object *obj __UNUSED__, void *event_info __U
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_fsel_sel(void *data, Evas_Object *obj __UNUSED__)
|
||||
_cb_fsel_sel(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ e_focus_event_mouse_down(E_Client *ec)
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_focus_event_mouse_up(E_Client *ec __UNUSED__)
|
||||
e_focus_event_mouse_up(E_Client *ec EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define E_TOK_STYLE ":style="
|
||||
|
||||
static Eina_Bool _font_hash_free_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__);
|
||||
static Eina_Bool _font_hash_free_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED);
|
||||
static Eina_Hash *_e_font_available_hash_add(Eina_Hash *font_hash, const char *full_name);
|
||||
static E_Font_Properties *_e_font_fontconfig_name_parse(Eina_Hash **font_hash, E_Font_Properties *efp, const char *font);
|
||||
static char _fn_buf[1024];
|
||||
|
@ -128,7 +128,7 @@ e_font_properties_free(E_Font_Properties *efp)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_font_hash_free_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
|
||||
_font_hash_free_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED)
|
||||
{
|
||||
E_Font_Properties *efp;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ static void _e_gadcon_client_inject(E_Gadcon *gc, E_Gadcon_C
|
|||
static void _e_gadcon_cb_min_size_request(void *data, Evas_Object *obj, void *event_info);
|
||||
static void _e_gadcon_cb_size_request(void *data, Evas_Object *obj, void *event_info);
|
||||
static void _e_gadcon_cb_moveresize(void *data, Evas *evas, Evas_Object *obj, void *event_info);
|
||||
static void _e_gadcon_parent_resize_cb(E_Gadcon *gc, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__);
|
||||
static void _e_gadcon_parent_resize_cb(E_Gadcon *gc, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
|
||||
static void _e_gadcon_cb_client_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event_info);
|
||||
static void _e_gadcon_cb_client_mouse_in(void *data, Evas *evas, Evas_Object *obj, void *event_info);
|
||||
static void _e_gadcon_cb_client_mouse_out(void *data, Evas *evas, Evas_Object *obj, void *event_info);
|
||||
|
@ -81,7 +81,7 @@ static void e_gadcon_layout_unpack(Evas_Object *obj);
|
|||
static void _e_gadcon_provider_populate_request(E_Gadcon *gc, const E_Gadcon_Client_Class *cc);
|
||||
static void _e_gadcon_provider_populate_unrequest(const E_Gadcon_Client_Class *cc);
|
||||
static void _e_gadcon_provider_populate_job(void *data);
|
||||
static void _e_gadcon_event_populate_free(void *data __UNUSED__, void *event);
|
||||
static void _e_gadcon_event_populate_free(void *data EINA_UNUSED, void *event);
|
||||
static void _e_gadcon_custom_populate_job(void *data);
|
||||
|
||||
static int _e_gadcon_location_change(E_Gadcon_Client *gcc, E_Gadcon_Location *src, E_Gadcon_Location *dst);
|
||||
|
@ -210,7 +210,7 @@ _e_gadcon_provider_list_sort_cb(E_Gadcon_Client_Class *a, E_Gadcon_Client_Class
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_module_init_end_cb(void *d __UNUSED__, int type __UNUSED__, void *ev __UNUSED__)
|
||||
_module_init_end_cb(void *d EINA_UNUSED, int type EINA_UNUSED, void *ev EINA_UNUSED)
|
||||
{
|
||||
_modules_loaded = EINA_TRUE;
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
|
@ -989,20 +989,20 @@ e_gadcon_client_find(E_Gadcon *gc, E_Config_Gadcon_Client *cf_gcc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_box_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_client_box_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc = data;
|
||||
gcc->o_box = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_box_hints_changed(void *data EINA_UNUSED, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_gadcon_client_box_hints_changed(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
evas_object_size_hint_min_set(obj, 0, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_frame_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_client_frame_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc = data;
|
||||
gcc->o_frame = NULL;
|
||||
|
@ -1040,7 +1040,7 @@ e_gadcon_drag_finished_cb(E_Drag *drag, int dropped)
|
|||
* @return returns pointer to created gadget, on failure returns null
|
||||
*/
|
||||
EAPI E_Gadcon_Client *
|
||||
e_gadcon_client_new(E_Gadcon *gc, const char *name, const char *id __UNUSED__, const char *style, Evas_Object *base_obj)
|
||||
e_gadcon_client_new(E_Gadcon *gc, const char *name, const char *id EINA_UNUSED, const char *style, Evas_Object *base_obj)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -1452,7 +1452,7 @@ e_gadcon_client_autoscroll_set(E_Gadcon_Client *gcc, int autoscroll)
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_gadcon_client_resizable_set(E_Gadcon_Client *gcc __UNUSED__, int resizable __UNUSED__)
|
||||
e_gadcon_client_resizable_set(E_Gadcon_Client *gcc EINA_UNUSED, int resizable EINA_UNUSED)
|
||||
{
|
||||
E_OBJECT_CHECK(gcc);
|
||||
E_OBJECT_TYPE_CHECK(gcc, E_GADCON_CLIENT_TYPE);
|
||||
|
@ -1607,7 +1607,7 @@ _e_gadcon_client_unpopulate(E_Gadcon_Client *gcc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_change_gadcon(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_gadcon_client_change_gadcon(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Gadcon_Location *src, *dst;
|
||||
E_Gadcon_Client *gcc;
|
||||
|
@ -1709,7 +1709,7 @@ e_gadcon_client_menu_set(E_Gadcon_Client *gcc, E_Menu *m)
|
|||
}
|
||||
|
||||
EAPI E_Menu *
|
||||
e_gadcon_client_util_menu_items_append(E_Gadcon_Client *gcc, E_Menu *menu_gadget, int flags __UNUSED__)
|
||||
e_gadcon_client_util_menu_items_append(E_Gadcon_Client *gcc, E_Menu *menu_gadget, int flags EINA_UNUSED)
|
||||
{
|
||||
E_Menu *mo, *menu_main = NULL;
|
||||
E_Menu_Item *mi;
|
||||
|
@ -2035,7 +2035,7 @@ _e_gadcon_free(E_Gadcon *gc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_event_free(void *d __UNUSED__, void *e)
|
||||
_e_gadcon_client_event_free(void *d EINA_UNUSED, void *e)
|
||||
{
|
||||
E_Event_Gadcon_Client_Del *ev = e;
|
||||
|
||||
|
@ -2055,7 +2055,7 @@ _e_gadcon_event_populate(E_Gadcon *gc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_delfn(void *d __UNUSED__, void *o)
|
||||
_e_gadcon_client_delfn(void *d EINA_UNUSED, void *o)
|
||||
{
|
||||
E_Gadcon_Client *gcc = o;
|
||||
E_Event_Gadcon_Client_Add *ev;
|
||||
|
@ -2169,7 +2169,7 @@ _e_gadcon_moveresize_handle(E_Gadcon_Client *gcc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_parent_resize_cb(E_Gadcon *gc, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_parent_resize_cb(E_Gadcon *gc, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Eina_List *l;
|
||||
E_Gadcon_Client *gcc;
|
||||
|
@ -2221,7 +2221,7 @@ _e_gadcon_cb_client_scroll_animator(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_client_frame_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_gadcon_cb_client_frame_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Move *ev;
|
||||
E_Gadcon_Client *gcc;
|
||||
|
@ -2235,7 +2235,7 @@ _e_gadcon_cb_client_frame_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_client_frame_moveresize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_client_frame_moveresize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -2401,7 +2401,7 @@ _e_gadcon_client_inject(E_Gadcon *gc, E_Gadcon_Client *gcc, int x, int y)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_min_size_request(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_min_size_request(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon *gc;
|
||||
|
||||
|
@ -2416,7 +2416,7 @@ _e_gadcon_cb_min_size_request(void *data, Evas_Object *obj __UNUSED__, void *eve
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_size_request(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_size_request(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon *gc;
|
||||
|
||||
|
@ -2431,7 +2431,7 @@ _e_gadcon_cb_size_request(void *data, Evas_Object *obj __UNUSED__, void *event_i
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_moveresize(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_moveresize(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon *gc;
|
||||
Evas_Coord x, y, w, h;
|
||||
|
@ -2443,7 +2443,7 @@ _e_gadcon_cb_moveresize(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_client_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_gadcon_cb_client_mouse_down(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Gadcon_Client *gcc;
|
||||
|
@ -2494,7 +2494,7 @@ _e_gadcon_cb_client_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *o
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_client_mouse_in(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_client_mouse_in(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -2503,7 +2503,7 @@ _e_gadcon_cb_client_mouse_in(void *data, Evas *evas __UNUSED__, Evas_Object *obj
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_client_mouse_out(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_client_mouse_out(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -2512,7 +2512,7 @@ _e_gadcon_cb_client_mouse_out(void *data, Evas *evas __UNUSED__, Evas_Object *ob
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_client_move(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_client_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
Evas_Coord x, y;
|
||||
|
@ -2524,7 +2524,7 @@ _e_gadcon_cb_client_move(void *data, Evas *evas __UNUSED__, Evas_Object *obj, vo
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_client_resize(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_gadcon_cb_client_resize(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
Evas_Coord w, h;
|
||||
|
@ -2687,19 +2687,19 @@ _e_gadcon_client_move_go(E_Gadcon_Client *gcc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_move_start(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_move_start(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_gadcon_client_move_start(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_move_stop(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_move_stop(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_gadcon_client_move_stop(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_move_go(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_move_go(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_gadcon_client_move_go(data);
|
||||
}
|
||||
|
@ -2723,19 +2723,19 @@ _e_gadconclient_resize_stop(E_Gadcon_Client *gcc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_resize_left_start(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_resize_left_start(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_gadcon_client_resize_start(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_resize_left_stop(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_resize_left_stop(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_gadconclient_resize_stop(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_resize_left_go(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_resize_left_go(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
Evas_Coord x, y, w, h;
|
||||
|
@ -2795,19 +2795,19 @@ _e_gadcon_cb_signal_resize_left_go(void *data, Evas_Object *obj __UNUSED__, cons
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_resize_right_start(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_resize_right_start(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_gadcon_client_resize_start(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_resize_right_stop(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_resize_right_stop(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_gadconclient_resize_stop(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_signal_resize_right_go(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_gadcon_cb_signal_resize_right_go(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
Evas_Coord x, y, w, h;
|
||||
|
@ -2867,7 +2867,7 @@ _e_gadcon_cb_signal_resize_right_go(void *data, Evas_Object *obj __UNUSED__, con
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_dnd_enter(void *data, const char *type __UNUSED__, void *event)
|
||||
_e_gadcon_cb_dnd_enter(void *data, const char *type EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Dnd_Enter *ev;
|
||||
E_Gadcon *gc;
|
||||
|
@ -2987,7 +2987,7 @@ _e_gadcon_cb_dnd_enter(void *data, const char *type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_dnd_move(void *data, const char *type __UNUSED__, void *event)
|
||||
_e_gadcon_cb_dnd_move(void *data, const char *type EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Dnd_Move *ev;
|
||||
E_Gadcon *gc;
|
||||
|
@ -3034,7 +3034,7 @@ _e_gadcon_cb_dnd_move(void *data, const char *type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_dnd_leave(void *data, const char *type __UNUSED__, void *event __UNUSED__)
|
||||
_e_gadcon_cb_dnd_leave(void *data, const char *type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon *gc;
|
||||
|
||||
|
@ -3059,7 +3059,7 @@ _e_gadcon_cb_dnd_leave(void *data, const char *type __UNUSED__, void *event __UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_cb_dnd_drop(void *data, const char *type __UNUSED__, void *event __UNUSED__)
|
||||
_e_gadcon_cb_dnd_drop(void *data, const char *type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon *gc;
|
||||
E_Gadcon_Client *gcc = NULL;
|
||||
|
@ -3150,7 +3150,7 @@ _e_gadcon_client_cb_instant_edit_timer(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_gadcon_client_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Gadcon_Client *gcc;
|
||||
|
@ -3203,7 +3203,7 @@ _e_gadcon_client_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_gadcon_client_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Up *ev;
|
||||
E_Gadcon_Client *gcc;
|
||||
|
@ -3234,7 +3234,7 @@ _e_gadcon_client_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_client_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -3246,7 +3246,7 @@ _e_gadcon_client_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_menu_style_plain(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_gadcon_client_cb_menu_style_plain(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
E_Gadcon *gc;
|
||||
|
@ -3260,7 +3260,7 @@ _e_gadcon_client_cb_menu_style_plain(void *data, E_Menu *m __UNUSED__, E_Menu_It
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_menu_style_inset(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_gadcon_client_cb_menu_style_inset(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
E_Gadcon *gc;
|
||||
|
@ -3274,7 +3274,7 @@ _e_gadcon_client_cb_menu_style_inset(void *data, E_Menu *m __UNUSED__, E_Menu_It
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_menu_autoscroll(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_gadcon_client_cb_menu_autoscroll(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -3289,7 +3289,7 @@ _e_gadcon_client_cb_menu_autoscroll(void *data, E_Menu *m __UNUSED__, E_Menu_Ite
|
|||
|
||||
/*
|
||||
static void
|
||||
_e_gadcon_client_cb_menu_resizable(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_gadcon_client_cb_menu_resizable(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -3303,7 +3303,7 @@ _e_gadcon_client_cb_menu_autoscroll(void *data, E_Menu *m __UNUSED__, E_Menu_Ite
|
|||
}
|
||||
*/
|
||||
static void
|
||||
_e_gadcon_client_cb_menu_edit(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_gadcon_client_cb_menu_edit(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -3315,7 +3315,7 @@ _e_gadcon_client_cb_menu_edit(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_menu_remove(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_gadcon_client_cb_menu_remove(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon *gc;
|
||||
E_Gadcon_Client *gcc;
|
||||
|
@ -3335,7 +3335,7 @@ _e_gadcon_client_cb_menu_remove(void *data, E_Menu *m __UNUSED__, E_Menu_Item *m
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_cb_menu_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_gadcon_client_cb_menu_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -3353,7 +3353,7 @@ _e_gadcon_client_cb_menu_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_client_del_hook(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_gadcon_client_del_hook(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client *gcc;
|
||||
|
||||
|
@ -3822,7 +3822,7 @@ _e_gadcon_layout_smart_disown(Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_layout_smart_item_del_hook(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_gadcon_layout_smart_item_del_hook(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
if (!obj) return;
|
||||
e_gadcon_layout_unpack(obj);
|
||||
|
@ -5345,7 +5345,7 @@ _e_gadcon_layout_smart_containers_position_adjust(E_Smart_Data *sd, E_Layout_Ite
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_layout_smart_position_items_inside_container(E_Smart_Data *sd __UNUSED__, E_Layout_Item_Container *lc)
|
||||
_e_gadcon_layout_smart_position_items_inside_container(E_Smart_Data *sd EINA_UNUSED, E_Layout_Item_Container *lc)
|
||||
{
|
||||
int shift;
|
||||
Eina_List *l;
|
||||
|
@ -5371,7 +5371,7 @@ _e_gadcon_layout_smart_position_items_inside_container(E_Smart_Data *sd __UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_layout_smart_containers_merge(E_Smart_Data *sd __UNUSED__, E_Layout_Item_Container *lc, E_Layout_Item_Container *lc2)
|
||||
_e_gadcon_layout_smart_containers_merge(E_Smart_Data *sd EINA_UNUSED, E_Layout_Item_Container *lc, E_Layout_Item_Container *lc2)
|
||||
{
|
||||
int start = 0, size = 0, next = 0, min_seq = 0, max_seq = 0;
|
||||
Eina_List *l, *nl = NULL;
|
||||
|
@ -5551,7 +5551,7 @@ _e_gadcon_layout_smart_restore_gadcons_position_before_move(E_Smart_Data *sd, E_
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_event_populate_free(void *data __UNUSED__, void *event)
|
||||
_e_gadcon_event_populate_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Gadcon_Populate *ev = event;
|
||||
|
||||
|
@ -5560,7 +5560,7 @@ _e_gadcon_event_populate_free(void *data __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_custom_populate_job(void *data __UNUSED__)
|
||||
_e_gadcon_custom_populate_job(void *data EINA_UNUSED)
|
||||
{
|
||||
const E_Gadcon_Client_Class *cc;
|
||||
E_Config_Gadcon_Client *cf_gcc;
|
||||
|
@ -5608,7 +5608,7 @@ _e_gadcon_custom_populate_job(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_provider_populate_job(void *data __UNUSED__)
|
||||
_e_gadcon_provider_populate_job(void *data EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Client_Class *cc;
|
||||
Eina_List *l;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
/* local subsystem functions */
|
||||
|
||||
static void _e_gadcon_popup_changed_size_hints_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
|
||||
static void _e_gadcon_popup_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
|
||||
static void _e_gadcon_popup_changed_size_hints_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
|
||||
static void _e_gadcon_popup_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
|
||||
|
||||
static Eina_Bool
|
||||
_e_popup_autoclose_deskafter_show_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
|
@ -180,7 +180,7 @@ _e_gadcon_popup_size_recalc(E_Gadcon_Popup *pop, Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_popup_changed_size_hints_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_gadcon_popup_changed_size_hints_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Popup *pop = data;
|
||||
|
||||
|
@ -191,7 +191,7 @@ _e_gadcon_popup_changed_size_hints_cb(void *data, Evas *e __UNUSED__, Evas_Objec
|
|||
}
|
||||
|
||||
static void
|
||||
_e_gadcon_popup_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_gadcon_popup_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Gadcon_Popup *pop = data;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"<br>Press <hilight>Escape</hilight> to abort.")
|
||||
|
||||
static Eina_Bool
|
||||
_e_grab_dialog_key_handler(void *data, int type __UNUSED__, Ecore_Event_Key *ev)
|
||||
_e_grab_dialog_key_handler(void *data, int type EINA_UNUSED, Ecore_Event_Key *ev)
|
||||
{
|
||||
E_Grab_Dialog *eg = data;
|
||||
|
||||
|
@ -33,7 +33,7 @@ _e_grab_dialog_key_handler(void *data, int type __UNUSED__, Ecore_Event_Key *ev)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_grab_dialog_wheel_handler(void *data, int type __UNUSED__, Ecore_Event_Mouse_Wheel *ev)
|
||||
_e_grab_dialog_wheel_handler(void *data, int type EINA_UNUSED, Ecore_Event_Mouse_Wheel *ev)
|
||||
{
|
||||
E_Grab_Dialog *eg = data;
|
||||
|
||||
|
@ -49,7 +49,7 @@ _e_grab_dialog_wheel_handler(void *data, int type __UNUSED__, Ecore_Event_Mouse_
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_grab_dialog_mouse_handler(void *data, int type __UNUSED__, Ecore_Event_Mouse_Button *ev)
|
||||
_e_grab_dialog_mouse_handler(void *data, int type EINA_UNUSED, Ecore_Event_Mouse_Button *ev)
|
||||
{
|
||||
E_Grab_Dialog *eg = data;
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ e_grabinput_key_win_get(void)
|
|||
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
static Eina_Bool
|
||||
_e_grabinput_focus_check(void *data __UNUSED__)
|
||||
_e_grabinput_focus_check(void *data EINA_UNUSED)
|
||||
{
|
||||
if (ecore_x_window_focus_get() != focus_fix_win)
|
||||
{
|
||||
|
|
|
@ -1566,7 +1566,7 @@ e_hints_window_e_state_get(E_Client *ec)
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_hints_window_e_state_set(E_Client *ec __UNUSED__)
|
||||
e_hints_window_e_state_set(E_Client *ec EINA_UNUSED)
|
||||
{
|
||||
/* TODO */
|
||||
}
|
||||
|
|
|
@ -806,7 +806,7 @@ _e_icon_smart_init(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_icon_preloaded(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_icon_preloaded(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
|
||||
|
@ -1157,7 +1157,7 @@ __try_next:
|
|||
}
|
||||
|
||||
static void
|
||||
_e_icon_obj_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_icon_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ static void _e_typebuf_clean(Evas_Object *obj);
|
|||
|
||||
static E_Ilist_Item *_e_ilist_item_new(E_Smart_Data *sd, Evas_Object *icon, Evas_Object *end, const char *label, int header, Ecore_End_Cb func, Ecore_End_Cb func_hilight, void *data, void *data2);
|
||||
static void _e_ilist_item_theme_set(E_Ilist_Item *si, Eina_Bool custom, Eina_Bool header, Eina_Bool even);
|
||||
static void _e_ilist_widget_hack_cb(E_Smart_Data *sd, Evas_Object *obj __UNUSED__, Evas_Object *scr);
|
||||
static void _e_ilist_widget_hack_cb(E_Smart_Data *sd, Evas_Object *obj EINA_UNUSED, Evas_Object *scr);
|
||||
|
||||
static void _item_select(E_Ilist_Item *si);
|
||||
static void _item_unselect(E_Ilist_Item *si);
|
||||
|
@ -875,7 +875,7 @@ _e_smart_reconfigure(E_Smart_Data *sd)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_down(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
|
@ -896,7 +896,7 @@ _e_smart_event_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_up(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_up(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
Evas_Event_Mouse_Up *ev;
|
||||
|
@ -949,7 +949,7 @@ _e_smart_event_mouse_up(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_key_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
|
||||
_e_smart_event_key_down(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info)
|
||||
{
|
||||
Evas_Event_Key_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -1089,7 +1089,7 @@ _e_smart_event_key_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj, voi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_ilist_widget_hack_cb(E_Smart_Data *sd, Evas_Object *obj __UNUSED__, Evas_Object *scr)
|
||||
_e_ilist_widget_hack_cb(E_Smart_Data *sd, Evas_Object *obj EINA_UNUSED, Evas_Object *scr)
|
||||
{
|
||||
int w, h;
|
||||
e_scrollframe_child_viewport_size_get(scr, &w, &h);
|
||||
|
|
|
@ -276,7 +276,7 @@ _import_edj_gen(E_Import_Config_Dialog *import)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_import_cb_edje_cc_exit(void *data, __UNUSED__ int type, void *event)
|
||||
_import_cb_edje_cc_exit(void *data, EINA_UNUSED int type, void *event)
|
||||
{
|
||||
E_Import_Config_Dialog *import;
|
||||
Ecore_Exe_Event_Del *ev;
|
||||
|
@ -308,7 +308,7 @@ _import_cb_edje_cc_exit(void *data, __UNUSED__ int type, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_import_cb_close(void *data, E_Dialog *dia __UNUSED__)
|
||||
_import_cb_close(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Import_Config_Dialog *import = data;
|
||||
|
||||
|
@ -319,7 +319,7 @@ _import_cb_close(void *data, E_Dialog *dia __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_import_cb_ok(void *data, E_Dialog *dia __UNUSED__)
|
||||
_import_cb_ok(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Import_Config_Dialog *import = data;
|
||||
const char *file;
|
||||
|
|
|
@ -15,7 +15,7 @@ _fsel_path_save(E_Import_Dialog *id)
|
|||
}
|
||||
|
||||
static void
|
||||
_fsel_cb_close(void *data, E_Dialog *dia __UNUSED__)
|
||||
_fsel_cb_close(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Import_Dialog *id = data;
|
||||
|
||||
|
@ -38,7 +38,7 @@ _import_ok(void *data, void *data2)
|
|||
}
|
||||
|
||||
static void
|
||||
_fsel_cb_ok(void *data, E_Dialog *dia __UNUSED__)
|
||||
_fsel_cb_ok(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
E_Import_Dialog *id;
|
||||
const char *path, *p;
|
||||
|
|
|
@ -10,7 +10,7 @@ static Eina_List *splash_objs = NULL;
|
|||
static Ecore_Timer *_e_init_timeout_timer = NULL;
|
||||
|
||||
static Eina_Bool
|
||||
_e_init_cb_timeout(void *data __UNUSED__)
|
||||
_e_init_cb_timeout(void *data EINA_UNUSED)
|
||||
{
|
||||
_e_init_timeout_timer = NULL;
|
||||
e_init_hide();
|
||||
|
@ -18,7 +18,7 @@ _e_init_cb_timeout(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_init_cb_signal_done_ok(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_init_cb_signal_done_ok(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
e_init_hide();
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ _create_data(E_Config_Dialog *cfd)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
/* Free the cfdata */
|
||||
cfdata->client->border_locks_dialog = NULL;
|
||||
|
@ -146,7 +146,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
|||
|
||||
/**--APPLY--**/
|
||||
static int
|
||||
_basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_basic_apply_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
int flag;
|
||||
/* Actually take our cfdata settings and apply them in real life */
|
||||
|
@ -213,7 +213,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static int
|
||||
_advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_advanced_apply_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
/* Actually take our cfdata settings and apply them in real life */
|
||||
cfdata->client->lock_user_location = cfdata->lock.user.location;
|
||||
|
@ -274,7 +274,7 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda
|
|||
|
||||
/**--GUI--**/
|
||||
static Evas_Object *
|
||||
_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
/* generate the core widget layout for a basic dialog */
|
||||
Evas_Object *o, *ob, *of;
|
||||
|
@ -297,7 +297,7 @@ _basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dial
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
/* generate the core widget layout for an advanced dialog */
|
||||
Evas_Object *o, *ob, *of, *ol;
|
||||
|
|
|
@ -5,7 +5,7 @@ static void _e_client_menu_cb_locks(void *data, E_Menu *m, E_Menu_Item *mi);
|
|||
static void _e_client_menu_cb_remember(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_borderless(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_border(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_redirect_set(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi EINA_UNUSED);
|
||||
static void _e_client_menu_cb_redirect_set(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED);
|
||||
static void _e_client_menu_cb_close(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_iconify(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_kill(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
|
@ -22,7 +22,7 @@ static void _e_client_menu_cb_shade(void *data, E_Menu *m, E_Menu_Item *mi);
|
|||
static void _e_client_menu_cb_resistance(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_icon_edit(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_application_pre(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_window_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_window_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_prop(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_stick(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
static void _e_client_menu_cb_stacking_pre(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||
|
@ -267,7 +267,7 @@ e_int_client_menu_del(E_Client *ec)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_cb_border_menu_end(void *data __UNUSED__, E_Menu *m)
|
||||
_e_client_cb_border_menu_end(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -285,7 +285,7 @@ _e_client_cb_border_menu_end(void *data __UNUSED__, E_Menu *m)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_locks(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_locks(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -297,7 +297,7 @@ _e_client_menu_cb_locks(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_remember(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_remember(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -309,7 +309,7 @@ _e_client_menu_cb_remember(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __U
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_border(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_border(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
char buf[256];
|
||||
|
@ -325,7 +325,7 @@ _e_client_menu_cb_border(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_borderless(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_borderless(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Client *ec = data;
|
||||
|
||||
|
@ -336,13 +336,13 @@ _e_client_menu_cb_borderless(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_redirect_set(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi EINA_UNUSED)
|
||||
_e_client_menu_cb_redirect_set(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
e_comp_client_redirect_toggle(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_close(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_close(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -351,7 +351,7 @@ _e_client_menu_cb_close(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_iconify(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_iconify(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -366,7 +366,7 @@ _e_client_menu_cb_iconify(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_kill(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_kill(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Action *a;
|
||||
E_Client *ec;
|
||||
|
@ -379,7 +379,7 @@ _e_client_menu_cb_kill(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_move(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_move(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -390,7 +390,7 @@ _e_client_menu_cb_move(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_resize(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_resize(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -401,7 +401,7 @@ _e_client_menu_cb_resize(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_maximize_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_maximize_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *subm;
|
||||
E_Menu_Item *submi;
|
||||
|
@ -498,7 +498,7 @@ _e_client_menu_cb_maximize_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_maximize(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_maximize(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -509,7 +509,7 @@ _e_client_menu_cb_maximize(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __U
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_maximize_vertically(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_maximize_vertically(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -524,7 +524,7 @@ _e_client_menu_cb_maximize_vertically(void *data, E_Menu *m __UNUSED__, E_Menu_I
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_maximize_horizontally(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_maximize_horizontally(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -539,7 +539,7 @@ _e_client_menu_cb_maximize_horizontally(void *data, E_Menu *m __UNUSED__, E_Menu
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_maximize_left(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_maximize_left(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -554,7 +554,7 @@ _e_client_menu_cb_maximize_left(void *data, E_Menu *m __UNUSED__, E_Menu_Item *m
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_maximize_right(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_maximize_right(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -569,7 +569,7 @@ _e_client_menu_cb_maximize_right(void *data, E_Menu *m __UNUSED__, E_Menu_Item *
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_unmaximize(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_unmaximize(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -578,7 +578,7 @@ _e_client_menu_cb_unmaximize(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi _
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_shade(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_shade(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -593,7 +593,7 @@ _e_client_menu_cb_shade(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_resistance(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_resistance(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -602,7 +602,7 @@ _e_client_menu_cb_resistance(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi _
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_icon_edit(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_icon_edit(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -611,7 +611,7 @@ _e_client_menu_cb_icon_edit(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi _
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_application_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_application_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *subm;
|
||||
E_Menu_Item *submi;
|
||||
|
@ -663,7 +663,7 @@ _e_client_menu_cb_application_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_window_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_window_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *subm;
|
||||
E_Menu_Item *submi;
|
||||
|
@ -813,7 +813,7 @@ _e_client_menu_cb_window_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_prop(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_prop(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -822,7 +822,7 @@ _e_client_menu_cb_prop(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_stick(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_stick(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -837,7 +837,7 @@ _e_client_menu_cb_stick(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_on_top(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_on_top(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -847,7 +847,7 @@ _e_client_menu_cb_on_top(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_below(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_below(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -857,7 +857,7 @@ _e_client_menu_cb_below(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_normal(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_normal(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -867,7 +867,7 @@ _e_client_menu_cb_normal(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_fullscreen(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_fullscreen(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Client *ec;
|
||||
int toggle;
|
||||
|
@ -885,7 +885,7 @@ _e_client_menu_cb_fullscreen(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_skip_winlist(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_skip_winlist(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -901,7 +901,7 @@ _e_client_menu_cb_skip_winlist(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_skip_pager(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_skip_pager(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -916,7 +916,7 @@ _e_client_menu_cb_skip_pager(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_skip_taskbar(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_skip_taskbar(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1184,7 +1184,7 @@ _e_client_menu_cb_align_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_sendto_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_sendto_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *subm;
|
||||
E_Menu_Item *submi;
|
||||
|
@ -1246,7 +1246,7 @@ _e_client_menu_cb_sendto_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_sendto(void *data, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_sendto(void *data, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Desk *desk;
|
||||
E_Client *ec;
|
||||
|
@ -1261,7 +1261,7 @@ _e_client_menu_cb_sendto(void *data, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_pin(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_pin(void *data EINA_UNUSED, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1270,7 +1270,7 @@ _e_client_menu_cb_pin(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_unpin(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_unpin(void *data EINA_UNUSED, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1279,7 +1279,7 @@ _e_client_menu_cb_unpin(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_stacking_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_stacking_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *subm;
|
||||
E_Menu_Item *submi;
|
||||
|
@ -1385,7 +1385,7 @@ _e_client_menu_cb_stacking_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_raise(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_raise(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec = data;
|
||||
|
||||
|
@ -1397,7 +1397,7 @@ _e_client_menu_cb_raise(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_lower(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_lower(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec = data;
|
||||
|
||||
|
@ -1446,7 +1446,7 @@ _e_client_menu_cb_netwm_icon(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_border_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_border_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *subm;
|
||||
E_Menu_Item *submi;
|
||||
|
@ -1510,7 +1510,7 @@ _e_client_menu_cb_border_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_iconpref_e(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_iconpref_e(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1522,7 +1522,7 @@ _e_client_menu_cb_iconpref_e(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi _
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_iconpref_user(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_iconpref_user(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1534,7 +1534,7 @@ _e_client_menu_cb_iconpref_user(void *data, E_Menu *m __UNUSED__, E_Menu_Item *m
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_iconpref_netwm(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_iconpref_netwm(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1546,7 +1546,7 @@ _e_client_menu_cb_iconpref_netwm(void *data, E_Menu *m __UNUSED__, E_Menu_Item *
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_skip_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_skip_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Client *ec;
|
||||
E_Menu *subm;
|
||||
|
@ -1591,7 +1591,7 @@ _e_client_menu_cb_skip_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_fav_add(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_fav_add(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
Efreet_Menu *menu;
|
||||
|
@ -1609,7 +1609,7 @@ _e_client_menu_cb_fav_add(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_kbdshrtct_add(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_kbdshrtct_add(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
E_Zone *zone;
|
||||
|
@ -1622,7 +1622,7 @@ _e_client_menu_cb_kbdshrtct_add(void *data, E_Menu *m __UNUSED__, E_Menu_Item *m
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_ibar_add_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_client_menu_cb_ibar_add_pre(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *sm;
|
||||
E_Client *ec;
|
||||
|
@ -1661,7 +1661,7 @@ _e_client_menu_cb_ibar_add_pre(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_client_menu_cb_ibar_add(void *data, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_client_menu_cb_ibar_add(void *data, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Order *od;
|
||||
E_Client *ec;
|
||||
|
|
|
@ -361,7 +361,7 @@ _ec_cb_dialog_del(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_ec_cb_dialog_close(void *data __UNUSED__, E_Dialog *dia)
|
||||
_ec_cb_dialog_close(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (dia->data)
|
||||
_free_data(dia, dia->data);
|
||||
|
@ -429,7 +429,7 @@ _ec_go(void *data, void *data2)
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_ec_icccm_create(E_Dialog *dia, void *data __UNUSED__)
|
||||
_ec_icccm_create(E_Dialog *dia, void *data EINA_UNUSED)
|
||||
{
|
||||
Evas *evas;
|
||||
Evas_Object *o, *ob, *otb;
|
||||
|
@ -485,7 +485,7 @@ _ec_icccm_create(E_Dialog *dia, void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_ec_netwm_create(E_Dialog *dia, void *data __UNUSED__)
|
||||
_ec_netwm_create(E_Dialog *dia, void *data EINA_UNUSED)
|
||||
{
|
||||
Evas *evas;
|
||||
Evas_Object *o, *ob, *otb;
|
||||
|
|
|
@ -303,7 +303,7 @@ _create_data(E_Config_Dialog *cfd)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
/* Free the cfdata */
|
||||
free(cfdata->name);
|
||||
|
@ -635,7 +635,7 @@ _advanced_apply_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfd
|
|||
|
||||
/**--GUI--**/
|
||||
static Evas_Object *
|
||||
_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
/* generate the core widget layout for a basic dialog */
|
||||
Evas_Object *o, *ob;
|
||||
|
|
|
@ -68,7 +68,7 @@ static int _advanced_apply_data(E_Config_Dialog *cfd,
|
|||
E_Config_Dialog_Data *cfdata);
|
||||
|
||||
EAPI E_Config_Dialog *
|
||||
e_int_config_comp(Evas_Object *parent EINA_UNUSED, const char *params __UNUSED__)
|
||||
e_int_config_comp(Evas_Object *parent EINA_UNUSED, const char *params EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
@ -157,7 +157,7 @@ _advanced_features_changed(E_Comp_Config *conf)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__,
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED,
|
||||
E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
eina_stringshare_del(cfdata->shadow_style);
|
||||
|
@ -428,7 +428,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
|
|||
}
|
||||
|
||||
static int
|
||||
_advanced_apply_data(E_Config_Dialog *cfd __UNUSED__,
|
||||
_advanced_apply_data(E_Config_Dialog *cfd EINA_UNUSED,
|
||||
E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
E_Comp_Config *conf = e_comp_config_get();
|
||||
|
@ -626,7 +626,7 @@ _basic_create_widgets(E_Config_Dialog *cfd,
|
|||
}
|
||||
|
||||
static int
|
||||
_basic_apply_data(E_Config_Dialog *cfd __UNUSED__,
|
||||
_basic_apply_data(E_Config_Dialog *cfd EINA_UNUSED,
|
||||
E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
E_Comp_Config *conf = e_comp_config_get();
|
||||
|
|
|
@ -869,7 +869,7 @@ _create_data(E_Config_Dialog *cfd)
|
|||
}
|
||||
|
||||
EAPI E_Config_Dialog *
|
||||
e_int_config_comp_match(Evas_Object *parent, const char *params __UNUSED__)
|
||||
e_int_config_comp_match(Evas_Object *parent, const char *params EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
|
|
@ -63,7 +63,7 @@ static const CFTypes _types[] =
|
|||
/* local function protos */
|
||||
static void _cftype_free(CFType *cft);
|
||||
|
||||
static void _widget_list_selection_changed(void *data, Evas_Object *obj __UNUSED__);
|
||||
static void _widget_list_selection_changed(void *data, Evas_Object *obj EINA_UNUSED);
|
||||
|
||||
static void *_create_data(E_Config_Dialog *cfd);
|
||||
static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
|
||||
|
@ -76,14 +76,14 @@ static void _toolbar_select_cb(void *data, void *data2);
|
|||
static CFType *_cftype_find(E_Config_Dialog_Data *cfdata, const char *key, const char *name, const char *icon);
|
||||
static CFType *_cftype_new(const char *key, const char *name, const char *icon);
|
||||
static void _load_module(E_Module_Desktop *md, Eina_Hash *types_hash);
|
||||
static Eina_Bool _types_list_create_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata);
|
||||
static Eina_Bool _types_list_create_foreach_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata);
|
||||
static int _types_list_sort(const void *data1, const void *data2);
|
||||
|
||||
static void _btn_cb_unload(void *data, void *data2);
|
||||
static void _btn_cb_load(void *data, void *data2);
|
||||
|
||||
EAPI E_Config_Dialog *
|
||||
e_int_config_modules(Evas_Object *parent EINA_UNUSED, const char *params __UNUSED__)
|
||||
e_int_config_modules(Evas_Object *parent EINA_UNUSED, const char *params EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog *cfd = NULL;
|
||||
E_Config_Dialog_View *v = NULL;
|
||||
|
@ -102,7 +102,7 @@ e_int_config_modules(Evas_Object *parent EINA_UNUSED, const char *params __UNUSE
|
|||
}
|
||||
|
||||
static void *
|
||||
_create_data(E_Config_Dialog *cfd __UNUSED__)
|
||||
_create_data(E_Config_Dialog *cfd EINA_UNUSED)
|
||||
{
|
||||
Eina_Hash *types_hash;
|
||||
Eina_List *mods;
|
||||
|
@ -133,7 +133,7 @@ _create_data(E_Config_Dialog *cfd __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
CFType *cft;
|
||||
|
||||
|
@ -147,7 +147,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_module_update(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Module_Update *ev)
|
||||
_module_update(E_Config_Dialog_Data *cfdata, int type EINA_UNUSED, E_Event_Module_Update *ev)
|
||||
{
|
||||
CFType *cft;
|
||||
Eina_List *l, *ll;
|
||||
|
@ -526,7 +526,7 @@ _modules_list_sort(const void *data1, const void *data2)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_types_list_create_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata)
|
||||
_types_list_create_foreach_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = fdata;
|
||||
CFType *cft = data;
|
||||
|
@ -552,7 +552,7 @@ _types_list_sort(const void *data1, const void *data2)
|
|||
}
|
||||
|
||||
static void
|
||||
_widget_list_selection_changed(void *data, Evas_Object *obj __UNUSED__)
|
||||
_widget_list_selection_changed(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
const Eina_List *l;
|
||||
|
@ -594,7 +594,7 @@ _widget_list_selection_changed(void *data, Evas_Object *obj __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_btn_cb_unload(void *data, void *data2 __UNUSED__)
|
||||
_btn_cb_unload(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
CFModule *cfm;
|
||||
|
@ -619,7 +619,7 @@ _btn_cb_unload(void *data, void *data2 __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_btn_cb_load(void *data, void *data2 __UNUSED__)
|
||||
_btn_cb_load(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
CFModule *cfm;
|
||||
|
|
|
@ -31,15 +31,15 @@ struct _E_Config_Dialog_Data
|
|||
static void *_create_data(E_Config_Dialog *cfd);
|
||||
static void _fill_data(E_Config_Dialog_Data *cfdata);
|
||||
static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
|
||||
static Eina_Bool _free_gadgets(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__);
|
||||
static Eina_Bool _free_gadgets(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED);
|
||||
static Evas_Object *_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata);
|
||||
static Evas_Object *_advanced_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata);
|
||||
static Eina_Bool _cb_load_timer(void *data);
|
||||
static void _fill_list(E_Config_Dialog_Data *cfdata);
|
||||
static void _fill_list_advanced(E_Config_Dialog_Data *cfdata, Eina_Bool, Eina_Bool);
|
||||
static void _cb_list_selected(void *data);
|
||||
static void _cb_add(void *data, void *data2 __UNUSED__);
|
||||
static void _cb_del(void *data, void *data2 __UNUSED__);
|
||||
static void _cb_add(void *data, void *data2 EINA_UNUSED);
|
||||
static void _cb_del(void *data, void *data2 EINA_UNUSED);
|
||||
static CFGadget *_search_hash(E_Config_Dialog_Data *cfdata, const char *name);
|
||||
static Eina_Bool _cb_cc_add(E_Config_Dialog_Data *cfdata, int type, E_Event_Gadcon_Client_Class_Add *ev);
|
||||
static Eina_Bool _cb_cc_del(E_Config_Dialog_Data *cfdata, int type, E_Event_Gadcon_Client_Class_Add *ev);
|
||||
|
@ -118,7 +118,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
if (cfdata->gcc_add) ecore_event_handler_del(cfdata->gcc_add);
|
||||
if (cfdata->gcc_del) ecore_event_handler_del(cfdata->gcc_del);
|
||||
|
@ -138,7 +138,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_free_gadgets(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
|
||||
_free_gadgets(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED)
|
||||
{
|
||||
CFGadget *gadget;
|
||||
|
||||
|
@ -199,7 +199,7 @@ _list_item_del_advanced(E_Config_Dialog_Data *cfdata, E_Gadcon_Client *gcc)
|
|||
}
|
||||
|
||||
static void
|
||||
_list_item_del(E_Config_Dialog_Data *cfdata __UNUSED__, Evas_Object *list, const E_Gadcon_Client_Class *cc)
|
||||
_list_item_del(E_Config_Dialog_Data *cfdata EINA_UNUSED, Evas_Object *list, const E_Gadcon_Client_Class *cc)
|
||||
{
|
||||
E_Ilist_Item *ili;
|
||||
const Eina_List *l;
|
||||
|
@ -409,7 +409,7 @@ _fill_list(E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_add_advanced(void *data, void *data2 __UNUSED__)
|
||||
_cb_add_advanced(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
E_Config_Gadcon_Client *cf_gcc;
|
||||
|
@ -433,7 +433,7 @@ _cb_add_advanced(void *data, void *data2 __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_add(void *data, void *data2 __UNUSED__)
|
||||
_cb_add(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
const E_Ilist_Item *it;
|
||||
|
@ -478,7 +478,7 @@ _cb_add(void *data, void *data2 __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_del_advanced(void *data, void *data2 __UNUSED__)
|
||||
_cb_del_advanced(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata = data;
|
||||
E_Config_Gadcon_Client *cf_gcc;
|
||||
|
@ -533,7 +533,7 @@ _cb_del_advanced(void *data, void *data2 __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_del(void *data, void *data2 __UNUSED__)
|
||||
_cb_del(void *data, void *data2 EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
const E_Ilist_Item *it;
|
||||
|
@ -629,7 +629,7 @@ _search_hash(E_Config_Dialog_Data *cfdata, const char *name)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_cb_gcc_del(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Client_Del *ev)
|
||||
_cb_gcc_del(E_Config_Dialog_Data *cfdata, int type EINA_UNUSED, E_Event_Gadcon_Client_Del *ev)
|
||||
{
|
||||
if (cfdata->advanced.o_list)
|
||||
_list_item_del_advanced(cfdata, ev->gcc);
|
||||
|
@ -645,7 +645,7 @@ _cb_gcc_del(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Cl
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_cb_gcc_add(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Client_Add *ev)
|
||||
_cb_gcc_add(E_Config_Dialog_Data *cfdata, int type EINA_UNUSED, E_Event_Gadcon_Client_Add *ev)
|
||||
{
|
||||
if (cfdata->advanced.o_list)
|
||||
_list_item_add_advanced(cfdata, ev->gcc, ev->gcc->cf);
|
||||
|
@ -653,7 +653,7 @@ _cb_gcc_add(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Cl
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_cb_cc_del(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Client_Class_Add *ev)
|
||||
_cb_cc_del(E_Config_Dialog_Data *cfdata, int type EINA_UNUSED, E_Event_Gadcon_Client_Class_Add *ev)
|
||||
{
|
||||
if (cfdata->basic.o_list)
|
||||
_list_item_del(cfdata, cfdata->basic.o_list, ev->cc);
|
||||
|
@ -663,7 +663,7 @@ _cb_cc_del(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Cli
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_cb_cc_add(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Client_Class_Add *ev)
|
||||
_cb_cc_add(E_Config_Dialog_Data *cfdata, int type EINA_UNUSED, E_Event_Gadcon_Client_Class_Add *ev)
|
||||
{
|
||||
if (cfdata->basic.o_list)
|
||||
_list_item_add(cfdata, ev->cc);
|
||||
|
|
|
@ -62,7 +62,7 @@ static void _e_int_menus_desk_item_cb(void *data, E_Menu *m, E_Menu_Item
|
|||
static void _e_int_menus_item_label_set(Efreet_Menu *entry, E_Menu_Item *mi);
|
||||
static Efreet_Menu *_e_int_menus_apps_thread_new(E_Menu *m, const char *dir);
|
||||
static Eina_Bool _e_int_menus_efreet_desktop_cache_update(void *d, int type, void *e);
|
||||
//static void _e_int_menus_apps_drag_finished(E_Drag *drag, int dropped __UNUSED__);
|
||||
//static void _e_int_menus_apps_drag_finished(E_Drag *drag, int dropped EINA_UNUSED);
|
||||
|
||||
/* local subsystem globals */
|
||||
static Eina_Hash *_e_int_menus_augmentation = NULL;
|
||||
|
@ -88,7 +88,7 @@ _e_int_menus_augmentation_find(const char *key)
|
|||
|
||||
#ifdef ISCOMFITOR
|
||||
static void
|
||||
_TEST_ADD(void *data, E_Dialog *dia __UNUSED__)
|
||||
_TEST_ADD(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
char buf[4096];
|
||||
|
||||
|
@ -97,13 +97,13 @@ _TEST_ADD(void *data, E_Dialog *dia __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_TEST_DEL(void *data, E_Dialog *dia __UNUSED__)
|
||||
_TEST_DEL(void *data, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_widget_ilist_remove_num(data, e_widget_ilist_selected_get(data));
|
||||
}
|
||||
|
||||
static void
|
||||
_TEST(void *d __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_TEST(void *d EINA_UNUSED, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Dialog *dia;
|
||||
Evas_Object *o_list;
|
||||
|
@ -544,7 +544,7 @@ e_int_menus_shutdown(void)
|
|||
|
||||
/* local subsystem functions */
|
||||
static Eina_Bool
|
||||
_e_int_menus_efreet_desktop_cache_update(void *d __UNUSED__, int type __UNUSED__, void *e __UNUSED__)
|
||||
_e_int_menus_efreet_desktop_cache_update(void *d EINA_UNUSED, int type EINA_UNUSED, void *e EINA_UNUSED)
|
||||
{
|
||||
e_int_menus_shutdown();
|
||||
e_int_menus_init();
|
||||
|
@ -583,7 +583,7 @@ _e_int_menus_main_del_hook(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_main_about(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_main_about(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_About *about;
|
||||
|
||||
|
@ -592,7 +592,7 @@ _e_int_menus_main_about(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_themes_about(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_themes_about(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Theme_About *about;
|
||||
|
||||
|
@ -609,7 +609,7 @@ _e_int_menus_themes_about(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_It
|
|||
*/
|
||||
|
||||
static void
|
||||
_e_int_menus_config_cb(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_config_cb(void *data EINA_UNUSED, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Action *act;
|
||||
|
||||
|
@ -618,7 +618,7 @@ _e_int_menus_config_cb(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_main_showhide(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_main_showhide(void *data EINA_UNUSED, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Action *act;
|
||||
|
||||
|
@ -627,7 +627,7 @@ _e_int_menus_main_showhide(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __U
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_main_restart(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_main_restart(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Action *a;
|
||||
|
||||
|
@ -636,7 +636,7 @@ _e_int_menus_main_restart(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_It
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_main_exit(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_main_exit(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Action *a;
|
||||
|
||||
|
@ -823,7 +823,7 @@ _e_int_menus_apps_scan(E_Menu *m, Efreet_Menu *menu)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_int_menus_app_cleaner_cb(void *d __UNUSED__)
|
||||
_e_int_menus_app_cleaner_cb(void *d EINA_UNUSED)
|
||||
{
|
||||
eina_hash_free_buckets(_e_int_menus_app_menus);
|
||||
return EINA_TRUE;
|
||||
|
@ -965,7 +965,7 @@ _e_int_menus_apps_free_hook2(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_apps_run(void *data, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_apps_run(void *data, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
Efreet_Desktop *desktop;
|
||||
|
||||
|
@ -975,7 +975,7 @@ _e_int_menus_apps_run(void *data, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
|||
|
||||
/*
|
||||
static void
|
||||
_e_int_menus_apps_drag_finished(E_Drag *drag, int dropped __UNUSED__)
|
||||
_e_int_menus_apps_drag_finished(E_Drag *drag, int dropped EINA_UNUSED)
|
||||
{
|
||||
Efreet_Desktop *desktop;
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ _e_int_menus_apps_drag(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_virtuals_pre_cb(void *data __UNUSED__, E_Menu *m)
|
||||
_e_int_menus_virtuals_pre_cb(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
E_Menu_Item *mi;
|
||||
E_Menu *root;
|
||||
|
@ -1074,13 +1074,13 @@ _e_int_menus_desktops_free_hook(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_desk_item_cb(void *data __UNUSED__, E_Menu *m EINA_UNUSED, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_desk_item_cb(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
e_configure_registry_call("screen/virtual_desktops", NULL, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_virtuals_item_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_virtuals_item_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Desk *desk;
|
||||
|
||||
|
@ -1118,7 +1118,7 @@ _e_e_int_menus_conf_comp_cb(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Men
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_config_pre_cb(void *data __UNUSED__, E_Menu *m)
|
||||
_e_int_menus_config_pre_cb(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
E_Menu_Item *mi;
|
||||
Eina_List *l = NULL;
|
||||
|
@ -1402,7 +1402,7 @@ _e_int_menus_clients_add_by_none(Eina_List *clients, E_Menu *m)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_clients_pre_cb(void *data __UNUSED__, E_Menu *m)
|
||||
_e_int_menus_clients_pre_cb(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
E_Menu *subm;
|
||||
E_Menu_Item *mi = NULL;
|
||||
|
@ -1565,7 +1565,7 @@ _e_int_menus_clients_free_hook(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_clients_item_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_clients_item_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
|
||||
|
@ -1600,7 +1600,7 @@ _e_int_menus_clients_icon_cb(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_clients_cleanup_cb(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_clients_cleanup_cb(void *data EINA_UNUSED, E_Menu *m, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Action *act;
|
||||
|
||||
|
@ -1609,7 +1609,7 @@ _e_int_menus_clients_cleanup_cb(void *data __UNUSED__, E_Menu *m, E_Menu_Item *m
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_lost_clients_pre_cb(void *data __UNUSED__, E_Menu *m)
|
||||
_e_int_menus_lost_clients_pre_cb(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
E_Menu_Item *mi;
|
||||
Eina_List *l, *clients = NULL;
|
||||
|
@ -1666,7 +1666,7 @@ _e_int_menus_lost_clients_free_hook(void *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_lost_clients_item_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_lost_clients_item_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec = data;
|
||||
|
||||
|
@ -1712,7 +1712,7 @@ _e_int_menus_augmentation_del(E_Menu *m, Eina_List *augmentation)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_shelves_pre_cb(void *data __UNUSED__, E_Menu *m)
|
||||
_e_int_menus_shelves_pre_cb(void *data EINA_UNUSED, E_Menu *m)
|
||||
{
|
||||
E_Menu_Item *mi;
|
||||
Eina_List *l, *shelves = NULL;
|
||||
|
@ -1819,7 +1819,7 @@ _e_int_menus_shelves_pre_cb(void *data __UNUSED__, E_Menu *m)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_shelves_item_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_shelves_item_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *s = data;
|
||||
|
||||
|
@ -1828,7 +1828,7 @@ _e_int_menus_shelves_item_cb(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi _
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_shelves_add_cb(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_shelves_add_cb(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Zone *zone;
|
||||
|
||||
|
@ -1837,7 +1837,7 @@ _e_int_menus_shelves_add_cb(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_
|
|||
}
|
||||
|
||||
static void
|
||||
_e_int_menus_shelves_del_cb(void *data __UNUSED__, E_Menu *m EINA_UNUSED, E_Menu_Item *mi __UNUSED__)
|
||||
_e_int_menus_shelves_del_cb(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
e_configure_registry_call("extensions/shelves", NULL, NULL);
|
||||
}
|
||||
|
|
|
@ -21,12 +21,12 @@ struct _E_Config_Dialog_Data
|
|||
/* local function prototypes */
|
||||
static void *_create_data(E_Config_Dialog *cfd);
|
||||
static void _fill_data(E_Config_Dialog_Data *cfdata);
|
||||
static int _basic_check_changed(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata);
|
||||
static void _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata);
|
||||
static Evas_Object *_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata);
|
||||
static int _basic_check_changed(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata);
|
||||
static void _free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata);
|
||||
static Evas_Object *_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata);
|
||||
static int _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
|
||||
static void _fill_styles(E_Config_Dialog_Data *cfdata, Evas_Object *obj);
|
||||
static void _cb_autohide_change(void *data, Evas_Object *obj __UNUSED__);
|
||||
static void _cb_autohide_change(void *data, Evas_Object *obj EINA_UNUSED);
|
||||
static void _fill_desks(E_Config_Dialog_Data *cfdata);
|
||||
|
||||
EAPI void
|
||||
|
@ -51,7 +51,7 @@ e_int_shelf_config(E_Shelf *es)
|
|||
|
||||
/* local functions */
|
||||
static Eina_Bool
|
||||
_shelf_event_add(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Shelf *ev)
|
||||
_shelf_event_add(E_Config_Dialog_Data *cfdata, int type EINA_UNUSED, E_Event_Shelf *ev)
|
||||
{
|
||||
if (ev->shelf->cfg == cfdata->escfg)
|
||||
cfdata->es = ev->shelf;
|
||||
|
@ -59,7 +59,7 @@ _shelf_event_add(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Shel
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_shelf_event_del(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Shelf *ev)
|
||||
_shelf_event_del(E_Config_Dialog_Data *cfdata, int type EINA_UNUSED, E_Event_Shelf *ev)
|
||||
{
|
||||
if (ev->shelf == cfdata->es)
|
||||
cfdata->es = NULL;
|
||||
|
@ -112,7 +112,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static int
|
||||
_basic_check_changed(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_basic_check_changed(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
#define CHECK(X) if (cfdata->X != cfdata->escfg->X) return 1
|
||||
CHECK(layer);
|
||||
|
@ -131,7 +131,7 @@ _basic_check_changed(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
eina_list_free(cfdata->autohide_list);
|
||||
|
||||
|
@ -144,7 +144,7 @@ _free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
Evas_Object *otb, *ol, *ow;
|
||||
E_Radio_Group *rg;
|
||||
|
@ -454,7 +454,7 @@ _fill_styles(E_Config_Dialog_Data *cfdata, Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_autohide_change(void *data, Evas_Object *obj __UNUSED__)
|
||||
_cb_autohide_change(void *data, Evas_Object *obj EINA_UNUSED)
|
||||
{
|
||||
E_Config_Dialog_Data *cfdata;
|
||||
Eina_List *l;
|
||||
|
|
|
@ -50,14 +50,14 @@ _fill_data(E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static void
|
||||
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_free_data(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
cfdata->tbar->cfg_dlg = NULL;
|
||||
E_FREE(cfdata);
|
||||
}
|
||||
|
||||
static int
|
||||
_basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||
_basic_apply(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
|
||||
|
@ -68,7 +68,7 @@ _basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
_basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||
{
|
||||
Evas_Object *o, *ot, *ow;
|
||||
E_Radio_Group *rg;
|
||||
|
|
|
@ -410,7 +410,7 @@ e_intl_imc_system_path_get(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_intl_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_intl_cb_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *ev;
|
||||
|
||||
|
@ -430,7 +430,7 @@ _e_intl_locale_hash_free(Eina_Hash *locale_hash)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_intl_locale_hash_free_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
|
||||
_e_intl_locale_hash_free_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED)
|
||||
{
|
||||
free(data);
|
||||
return 1;
|
||||
|
|
|
@ -4,9 +4,9 @@ EINTERN char *e_ipc_socket = NULL;
|
|||
|
||||
#ifdef USE_IPC
|
||||
/* local subsystem functions */
|
||||
static Eina_Bool _e_ipc_cb_client_add(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static Eina_Bool _e_ipc_cb_client_del(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static Eina_Bool _e_ipc_cb_client_data(void *data __UNUSED__, int type __UNUSED__, void *event);
|
||||
static Eina_Bool _e_ipc_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
static Eina_Bool _e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
static Eina_Bool _e_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||
|
||||
/* local subsystem globals */
|
||||
static Ecore_Ipc_Server *_e_ipc_server = NULL;
|
||||
|
@ -143,7 +143,7 @@ e_ipc_shutdown(void)
|
|||
#ifdef USE_IPC
|
||||
/* local subsystem globals */
|
||||
static Eina_Bool
|
||||
_e_ipc_cb_client_add(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_ipc_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Ipc_Event_Client_Add *e;
|
||||
|
||||
|
@ -154,7 +154,7 @@ _e_ipc_cb_client_add(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_ipc_cb_client_del(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Ipc_Event_Client_Del *e;
|
||||
|
||||
|
@ -169,7 +169,7 @@ _e_ipc_cb_client_del(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_ipc_cb_client_data(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Ipc_Event_Client_Data *e;
|
||||
|
||||
|
|
|
@ -369,7 +369,7 @@ _e_layout_smart_disown(Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_layout_smart_item_del_hook(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_layout_smart_item_del_hook(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
e_layout_unpack(obj);
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ static const char *_names[] = {
|
|||
};
|
||||
|
||||
static void
|
||||
_e_log_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc __UNUSED__, int line, const char *fmt, void *data __UNUSED__, va_list args)
|
||||
_e_log_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc EINA_UNUSED, int line, const char *fmt, void *data EINA_UNUSED, va_list args)
|
||||
{
|
||||
const char *color;
|
||||
|
||||
|
|
|
@ -70,9 +70,9 @@ static double t0, t1, t2;
|
|||
static void _e_main_shutdown(int errcode);
|
||||
static void _e_main_shutdown_push(int (*func)(void));
|
||||
static void _e_main_parse_arguments(int argc, char **argv);
|
||||
static Eina_Bool _e_main_cb_signal_exit(void *data __UNUSED__, int ev_type __UNUSED__, void *ev __UNUSED__);
|
||||
static Eina_Bool _e_main_cb_signal_hup(void *data __UNUSED__, int ev_type __UNUSED__, void *ev __UNUSED__);
|
||||
static Eina_Bool _e_main_cb_signal_user(void *data __UNUSED__, int ev_type __UNUSED__, void *ev);
|
||||
static Eina_Bool _e_main_cb_signal_exit(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev EINA_UNUSED);
|
||||
static Eina_Bool _e_main_cb_signal_hup(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev EINA_UNUSED);
|
||||
static Eina_Bool _e_main_cb_signal_user(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev);
|
||||
static int _e_main_dirs_init(void);
|
||||
static int _e_main_dirs_shutdown(void);
|
||||
static int _e_main_path_init(void);
|
||||
|
@ -84,10 +84,10 @@ static void _e_main_desk_save(void);
|
|||
static void _e_main_desk_restore(void);
|
||||
static void _e_main_efreet_paths_init(void);
|
||||
static void _e_main_modules_load(Eina_Bool safe_mode);
|
||||
static Eina_Bool _e_main_cb_x_flusher(void *data __UNUSED__);
|
||||
static Eina_Bool _e_main_cb_idle_before(void *data __UNUSED__);
|
||||
static Eina_Bool _e_main_cb_idle_after(void *data __UNUSED__);
|
||||
static Eina_Bool _e_main_cb_startup_fake_end(void *data __UNUSED__);
|
||||
static Eina_Bool _e_main_cb_x_flusher(void *data EINA_UNUSED);
|
||||
static Eina_Bool _e_main_cb_idle_before(void *data EINA_UNUSED);
|
||||
static Eina_Bool _e_main_cb_idle_after(void *data EINA_UNUSED);
|
||||
static Eina_Bool _e_main_cb_startup_fake_end(void *data EINA_UNUSED);
|
||||
|
||||
/* local variables */
|
||||
static Eina_Bool really_know = EINA_FALSE;
|
||||
|
@ -1252,7 +1252,7 @@ _e_main_parse_arguments(int argc, char **argv)
|
|||
}
|
||||
|
||||
EINTERN void
|
||||
_e_main_cb_x_fatal(void *data __UNUSED__)
|
||||
_e_main_cb_x_fatal(void *data EINA_UNUSED)
|
||||
{
|
||||
e_error_message_show("Lost X Connection.\n");
|
||||
ecore_main_loop_quit();
|
||||
|
@ -1264,7 +1264,7 @@ _e_main_cb_x_fatal(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_main_cb_signal_exit(void *data __UNUSED__, int ev_type __UNUSED__, void *ev __UNUSED__)
|
||||
_e_main_cb_signal_exit(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev EINA_UNUSED)
|
||||
{
|
||||
/* called on ctrl-c, kill (pid) (also SIGINT, SIGTERM and SIGQIT) */
|
||||
e_sys_action_do(E_SYS_EXIT, NULL);
|
||||
|
@ -1272,14 +1272,14 @@ _e_main_cb_signal_exit(void *data __UNUSED__, int ev_type __UNUSED__, void *ev _
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_main_cb_signal_hup(void *data __UNUSED__, int ev_type __UNUSED__, void *ev __UNUSED__)
|
||||
_e_main_cb_signal_hup(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev EINA_UNUSED)
|
||||
{
|
||||
e_sys_action_do(E_SYS_RESTART, NULL);
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_main_cb_signal_user(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
|
||||
_e_main_cb_signal_user(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
|
||||
{
|
||||
Ecore_Event_Signal_User *e = ev;
|
||||
|
||||
|
@ -1738,7 +1738,7 @@ _e_main_modules_load(Eina_Bool safe_mode)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_main_cb_idle_before(void *data __UNUSED__)
|
||||
_e_main_cb_idle_before(void *data EINA_UNUSED)
|
||||
{
|
||||
e_menu_idler_before();
|
||||
e_client_idler_before();
|
||||
|
@ -1748,7 +1748,7 @@ _e_main_cb_idle_before(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_main_cb_idle_after(void *data __UNUSED__)
|
||||
_e_main_cb_idle_after(void *data EINA_UNUSED)
|
||||
{
|
||||
static int first_idle = 1;
|
||||
|
||||
|
@ -1774,7 +1774,7 @@ _e_main_cb_idle_after(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_main_cb_x_flusher(void *data __UNUSED__)
|
||||
_e_main_cb_x_flusher(void *data EINA_UNUSED)
|
||||
{
|
||||
eet_clearcache();
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
|
@ -1785,7 +1785,7 @@ _e_main_cb_x_flusher(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_main_cb_startup_fake_end(void *data __UNUSED__)
|
||||
_e_main_cb_startup_fake_end(void *data EINA_UNUSED)
|
||||
{
|
||||
e_init_hide();
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
|
|
|
@ -484,7 +484,7 @@ e_menu_title_set(E_Menu *m, const char *title)
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_menu_icon_file_set(E_Menu *m __UNUSED__, const char *icon __UNUSED__)
|
||||
e_menu_icon_file_set(E_Menu *m EINA_UNUSED, const char *icon EINA_UNUSED)
|
||||
{
|
||||
/* FIXME: support menu icons
|
||||
E_OBJECT_CHECK(m);
|
||||
|
@ -2643,7 +2643,7 @@ _e_menu_auto_place(E_Menu *m, int x, int y, int w, int h)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_menu_cb_item_in(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_menu_cb_item_in(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Menu_Item *mi = data;
|
||||
|
||||
|
@ -2654,7 +2654,7 @@ _e_menu_cb_item_in(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED_
|
|||
}
|
||||
|
||||
static void
|
||||
_e_menu_cb_item_out(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info EINA_UNUSED)
|
||||
_e_menu_cb_item_out(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Menu_Item *mi = data;
|
||||
/* this can be triggered when creating menus if the new menu is on top of its parent */
|
||||
|
@ -2723,7 +2723,7 @@ _e_menu_cb_mouse_evas_down(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_menu_cb_mouse_down(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_menu_cb_mouse_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Mouse_Button *ev;
|
||||
|
||||
|
@ -2747,7 +2747,7 @@ _e_menu_cb_mouse_down(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_menu_cb_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_menu_cb_mouse_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Mouse_Button *ev;
|
||||
unsigned int t;
|
||||
|
@ -2798,7 +2798,7 @@ _e_menu_cb_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_menu_cb_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_menu_cb_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Mouse_Move *ev;
|
||||
Eina_List *l, *tmp;
|
||||
|
@ -2872,7 +2872,7 @@ _e_menu_cb_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_menu_cb_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_menu_cb_mouse_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Event_Mouse_Wheel *ev;
|
||||
|
||||
|
@ -2896,7 +2896,7 @@ _e_menu_cb_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_menu_cb_scroll_animator(void *data __UNUSED__)
|
||||
_e_menu_cb_scroll_animator(void *data EINA_UNUSED)
|
||||
{
|
||||
double t, dt;
|
||||
double dx, dy;
|
||||
|
@ -2946,7 +2946,7 @@ _e_menu_cb_scroll_animator(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_menu_cb_item_submenu_post_default(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi)
|
||||
_e_menu_cb_item_submenu_post_default(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi)
|
||||
{
|
||||
E_Menu *subm;
|
||||
|
||||
|
|
|
@ -782,7 +782,7 @@ _e_module_cb_dialog_disable(void *data, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_module_cb_idler(void *data __UNUSED__)
|
||||
_e_module_cb_idler(void *data EINA_UNUSED)
|
||||
{
|
||||
while (_e_modules_delayed)
|
||||
{
|
||||
|
@ -837,7 +837,7 @@ _e_module_sort_priority(const void *d1, const void *d2)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_module_event_update_free(void *data __UNUSED__, void *event)
|
||||
_e_module_event_update_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Module_Update *ev;
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ e_moveresize_client_extents(const E_Client *ec, int *w, int *h)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_resize_begin(void *data __UNUSED__, E_Client *ec)
|
||||
_e_resize_begin(void *data EINA_UNUSED, E_Client *ec)
|
||||
{
|
||||
Evas_Object *o;
|
||||
Evas_Coord ew, eh;
|
||||
|
@ -122,7 +122,7 @@ _e_resize_begin(void *data __UNUSED__, E_Client *ec)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_resize_end(void *data __UNUSED__, E_Client *ec __UNUSED__)
|
||||
_e_resize_end(void *data EINA_UNUSED, E_Client *ec EINA_UNUSED)
|
||||
{
|
||||
if (e_config->resize_info_visible)
|
||||
{
|
||||
|
@ -138,7 +138,7 @@ _e_resize_end(void *data __UNUSED__, E_Client *ec __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_resize_update(void *data __UNUSED__, E_Client *ec)
|
||||
_e_resize_update(void *data EINA_UNUSED, E_Client *ec)
|
||||
{
|
||||
char buf[40];
|
||||
int w, h;
|
||||
|
@ -155,7 +155,7 @@ _e_resize_update(void *data __UNUSED__, E_Client *ec)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_move_begin(void *data __UNUSED__, E_Client *ec)
|
||||
_e_move_begin(void *data EINA_UNUSED, E_Client *ec)
|
||||
{
|
||||
Evas_Object *o;
|
||||
Evas_Coord ew, eh;
|
||||
|
@ -196,7 +196,7 @@ _e_move_begin(void *data __UNUSED__, E_Client *ec)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_move_end(void *data __UNUSED__, E_Client *ec __UNUSED__)
|
||||
_e_move_end(void *data EINA_UNUSED, E_Client *ec EINA_UNUSED)
|
||||
{
|
||||
if (e_config->move_info_visible)
|
||||
{
|
||||
|
@ -210,7 +210,7 @@ _e_move_end(void *data __UNUSED__, E_Client *ec __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_move_update(void *data __UNUSED__, E_Client *ec)
|
||||
_e_move_update(void *data EINA_UNUSED, E_Client *ec)
|
||||
{
|
||||
char buf[40];
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ e_msg_handler_del(E_Msg_Handler *emsgh)
|
|||
/* local subsystem functions */
|
||||
|
||||
static Eina_Bool
|
||||
_e_msg_event_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
|
||||
_e_msg_event_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
|
||||
{
|
||||
E_Msg_Event *e;
|
||||
Eina_List *l;
|
||||
|
@ -138,7 +138,7 @@ _e_msg_event_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_msg_event_free(void *data __UNUSED__, void *ev)
|
||||
_e_msg_event_free(void *data EINA_UNUSED, void *ev)
|
||||
{
|
||||
E_Msg_Event *e;
|
||||
|
||||
|
|
|
@ -163,8 +163,8 @@ e_msgbus_interface_attach(const Eldbus_Service_Interface_Desc *desc)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_msgbus_request_name_cb(void *data __UNUSED__, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending __UNUSED__)
|
||||
_e_msgbus_request_name_cb(void *data EINA_UNUSED, const Eldbus_Message *msg,
|
||||
Eldbus_Pending *pending EINA_UNUSED)
|
||||
{
|
||||
unsigned int flag;
|
||||
|
||||
|
@ -186,7 +186,7 @@ _e_msgbus_request_name_cb(void *data __UNUSED__, const Eldbus_Message *msg,
|
|||
|
||||
/* Core Handlers */
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_core_version_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_core_version_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
Eldbus_Message *reply = eldbus_message_method_return_new(msg);
|
||||
|
@ -196,7 +196,7 @@ _e_msgbus_core_version_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_core_restart_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_core_restart_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
e_sys_action_do(E_SYS_RESTART, NULL);
|
||||
|
@ -204,7 +204,7 @@ _e_msgbus_core_restart_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_core_shutdown_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_core_shutdown_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
e_sys_action_do(E_SYS_EXIT, NULL);
|
||||
|
@ -213,7 +213,7 @@ _e_msgbus_core_shutdown_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
|
||||
/* Modules Handlers */
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_module_load_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_module_load_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
char *module;
|
||||
|
@ -232,7 +232,7 @@ _e_msgbus_module_load_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_module_unload_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_module_unload_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
char *module;
|
||||
|
@ -253,7 +253,7 @@ _e_msgbus_module_unload_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_module_enable_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_module_enable_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
char *module;
|
||||
|
@ -273,7 +273,7 @@ _e_msgbus_module_enable_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_module_disable_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_module_disable_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
char *module;
|
||||
|
@ -293,7 +293,7 @@ _e_msgbus_module_disable_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_module_list_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_module_list_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
Eina_List *l;
|
||||
|
@ -329,7 +329,7 @@ _e_msgbus_module_list_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
|
||||
/* Profile Handlers */
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_profile_set_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_profile_set_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
char *profile;
|
||||
|
@ -348,7 +348,7 @@ _e_msgbus_profile_set_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_profile_get_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_profile_get_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
Eldbus_Message *reply = eldbus_message_method_return_new(msg);
|
||||
|
@ -361,7 +361,7 @@ _e_msgbus_profile_get_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_profile_list_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_profile_list_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
Eina_List *l;
|
||||
|
@ -390,7 +390,7 @@ _e_msgbus_profile_list_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_profile_add_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_profile_add_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
char *profile;
|
||||
|
@ -404,7 +404,7 @@ _e_msgbus_profile_add_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
}
|
||||
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_profile_delete_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_profile_delete_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
char *profile;
|
||||
|
@ -421,7 +421,7 @@ _e_msgbus_profile_delete_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
|
||||
/* Window handlers */
|
||||
static Eldbus_Message *
|
||||
_e_msgbus_window_list_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
||||
_e_msgbus_window_list_cb(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
||||
const Eldbus_Message *msg)
|
||||
{
|
||||
const Eina_List *l;
|
||||
|
@ -457,7 +457,7 @@ _e_msgbus_window_list_cb(const Eldbus_Service_Interface *iface __UNUSED__,
|
|||
|
||||
#define E_MSGBUS_WIN_ACTION_CB_BEGIN(NAME) \
|
||||
static Eldbus_Message * \
|
||||
_e_msgbus_window_##NAME##_cb(const Eldbus_Service_Interface * iface __UNUSED__, \
|
||||
_e_msgbus_window_##NAME##_cb(const Eldbus_Service_Interface * iface EINA_UNUSED, \
|
||||
const Eldbus_Message * msg) \
|
||||
{ \
|
||||
E_Client *ec; \
|
||||
|
|
|
@ -10,7 +10,7 @@ static void _e_obj_dialog_cb_close(void *data, Evas_Object *obj, const char *emi
|
|||
/* externally accessible functions */
|
||||
|
||||
static void
|
||||
_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event)
|
||||
_key_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
|
||||
{
|
||||
Evas_Event_Key_Down *ev = event;
|
||||
|
||||
|
@ -135,7 +135,7 @@ _e_obj_dialog_cb_delete(E_Obj_Dialog *od, Evas *e EINA_UNUSED, Evas_Object *obj
|
|||
}
|
||||
|
||||
static void
|
||||
_e_obj_dialog_cb_close(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_obj_dialog_cb_close(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Obj_Dialog *od;
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ handler_find(const char *mime)
|
|||
}
|
||||
|
||||
static void *
|
||||
get_command(void *data, Efreet_Desktop *desktop __UNUSED__, char *command, int remaining __UNUSED__)
|
||||
get_command(void *data, Efreet_Desktop *desktop EINA_UNUSED, char *command, int remaining EINA_UNUSED)
|
||||
{
|
||||
Eina_List **p_cmd = data;
|
||||
*p_cmd = eina_list_append(*p_cmd, command);
|
||||
|
|
|
@ -247,7 +247,7 @@ _e_order_cb_monitor_delay(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_order_cb_monitor(void *data, Ecore_File_Monitor *em __UNUSED__, Ecore_File_Event event __UNUSED__, const char *path __UNUSED__)
|
||||
_e_order_cb_monitor(void *data, Ecore_File_Monitor *em EINA_UNUSED, Ecore_File_Event event EINA_UNUSED, const char *path EINA_UNUSED)
|
||||
{
|
||||
E_Order *eo = data;
|
||||
|
||||
|
@ -328,7 +328,7 @@ _e_order_save(E_Order *eo)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_order_cb_efreet_cache_update(void *data __UNUSED__, int ev_type __UNUSED__, void *ev __UNUSED__)
|
||||
_e_order_cb_efreet_cache_update(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev EINA_UNUSED)
|
||||
{
|
||||
Eina_List *l;
|
||||
E_Order *eo;
|
||||
|
|
|
@ -131,7 +131,7 @@ e_pan_child_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
|
|||
|
||||
/* local subsystem functions */
|
||||
static void
|
||||
_e_smart_child_del_hook(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_smart_child_del_hook(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
|
||||
|
@ -141,7 +141,7 @@ _e_smart_child_del_hook(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_child_resize_hook(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_smart_child_resize_hook(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
Evas_Coord w, h;
|
||||
|
|
|
@ -368,7 +368,7 @@ _e_path_cache_free(E_Path *ep)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_path_cache_free_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
|
||||
_e_path_cache_free_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED)
|
||||
{
|
||||
eina_stringshare_del(data);
|
||||
return 1;
|
||||
|
|
|
@ -441,7 +441,7 @@ e_place_zone_region_smart(E_Zone *zone, Eina_List *skiplist, int x, int y, int w
|
|||
}
|
||||
|
||||
EAPI int
|
||||
e_place_zone_cursor(E_Zone *zone, int x __UNUSED__, int y __UNUSED__, int w, int h, int it, int *rx, int *ry)
|
||||
e_place_zone_cursor(E_Zone *zone, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, int it, int *rx, int *ry)
|
||||
{
|
||||
int cursor_x = 0, cursor_y = 0;
|
||||
int zone_right, zone_bottom;
|
||||
|
|
|
@ -10,7 +10,7 @@ struct _E_Powersave_Deferred_Action
|
|||
/* local subsystem functions */
|
||||
static Eina_Bool _e_powersave_cb_deferred_timer(void *data);
|
||||
static void _e_powersave_mode_eval(void);
|
||||
static void _e_powersave_event_update_free(void *data __UNUSED__, void *event);
|
||||
static void _e_powersave_event_update_free(void *data EINA_UNUSED, void *event);
|
||||
|
||||
/* local subsystem globals */
|
||||
EAPI int E_EVENT_POWERSAVE_UPDATE = 0;
|
||||
|
@ -116,7 +116,7 @@ e_powersave_mode_max_get(void)
|
|||
/* local subsystem functions */
|
||||
|
||||
static Eina_Bool
|
||||
_e_powersave_cb_deferred_timer(void *data __UNUSED__)
|
||||
_e_powersave_cb_deferred_timer(void *data EINA_UNUSED)
|
||||
{
|
||||
E_Powersave_Deferred_Action *pa;
|
||||
|
||||
|
@ -173,7 +173,7 @@ _e_powersave_mode_eval(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_powersave_event_update_free(void *data __UNUSED__, void *event)
|
||||
_e_powersave_event_update_free(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
free(event);
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ e_remember_internal_save(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_remember_restore_idler_cb(void *d __UNUSED__)
|
||||
_e_remember_restore_idler_cb(void *d EINA_UNUSED)
|
||||
{
|
||||
E_Remember *rem;
|
||||
E_Action *act_fm = NULL, *act;
|
||||
|
@ -190,7 +190,7 @@ _e_remember_restore_idler_cb(void *d __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_remember_restore_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_remember_restore_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
handlers = eina_list_free(handlers);
|
||||
if (!remembers->list) return ECORE_CALLBACK_PASS_ON;
|
||||
|
@ -606,7 +606,7 @@ _e_remember_free(E_Remember *rem)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_remember_cb_hook_eval_post_new_client(void *data __UNUSED__, E_Client *ec)
|
||||
_e_remember_cb_hook_eval_post_new_client(void *data EINA_UNUSED, E_Client *ec)
|
||||
{
|
||||
// remember only when window was modified
|
||||
// if (!ec->new_client) return;
|
||||
|
@ -642,7 +642,7 @@ _e_remember_cb_hook_eval_post_new_client(void *data __UNUSED__, E_Client *ec)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_remember_cb_hook_pre_post_fetch(void *data __UNUSED__, E_Client *ec)
|
||||
_e_remember_cb_hook_pre_post_fetch(void *data EINA_UNUSED, E_Client *ec)
|
||||
{
|
||||
E_Remember *rem = NULL;
|
||||
int temporary = 0;
|
||||
|
|
|
@ -88,7 +88,7 @@ e_resist_client_position(Eina_List *skiplist,
|
|||
}
|
||||
|
||||
EAPI int
|
||||
e_resist_gadman_position(Eina_List *skiplist __UNUSED__,
|
||||
e_resist_gadman_position(Eina_List *skiplist EINA_UNUSED,
|
||||
int px, int py, int pw, int ph,
|
||||
int x, int y, int w, int h,
|
||||
int *rx, int *ry)
|
||||
|
|
|
@ -114,7 +114,7 @@ e_screensaver_force_update(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_handler_config_mode_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_screensaver_handler_config_mode_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
e_screensaver_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
|
@ -128,7 +128,7 @@ _e_screensaver_ask_presentation_del(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_screensaver_ask_presentation_yes(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_screensaver_ask_presentation_yes(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
e_config->mode.presentation = 1;
|
||||
e_config_mode_changed();
|
||||
|
@ -138,14 +138,14 @@ _e_screensaver_ask_presentation_yes(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_screensaver_ask_presentation_no(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_screensaver_ask_presentation_no(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
e_object_del(E_OBJECT(dia));
|
||||
_e_screensaver_ask_presentation_count = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
_e_screensaver_ask_presentation_no_increase(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_screensaver_ask_presentation_no_increase(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
_e_screensaver_ask_presentation_count++;
|
||||
e_screensaver_update();
|
||||
|
@ -153,7 +153,7 @@ _e_screensaver_ask_presentation_no_increase(void *data __UNUSED__, E_Dialog *dia
|
|||
}
|
||||
|
||||
static void
|
||||
_e_screensaver_ask_presentation_no_forever(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_screensaver_ask_presentation_no_forever(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
e_config->screensaver_ask_presentation = 0;
|
||||
e_config_save_queue();
|
||||
|
@ -162,7 +162,7 @@ _e_screensaver_ask_presentation_no_forever(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_screensaver_ask_presentation_key_down(void *data, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event)
|
||||
_e_screensaver_ask_presentation_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event)
|
||||
{
|
||||
Evas_Event_Key_Down *ev = event;
|
||||
E_Dialog *dia = data;
|
||||
|
@ -212,7 +212,7 @@ _e_screensaver_ask_presentation_mode(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_suspend_cb(void *data __UNUSED__)
|
||||
_e_screensaver_suspend_cb(void *data EINA_UNUSED)
|
||||
{
|
||||
_e_screensaver_suspend_timer = NULL;
|
||||
if (e_config->screensaver_suspend)
|
||||
|
@ -225,7 +225,7 @@ _e_screensaver_suspend_cb(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_handler_powersave_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_screensaver_handler_powersave_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
if ((e_config->screensaver_suspend) && (_e_screensaver_on))
|
||||
{
|
||||
|
@ -241,7 +241,7 @@ _e_screensaver_handler_powersave_cb(void *data __UNUSED__, int type __UNUSED__,
|
|||
static double last_start = 0.0;
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_handler_screensaver_on_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_screensaver_handler_screensaver_on_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
_e_screensaver_on = EINA_TRUE;
|
||||
if (_e_screensaver_suspend_timer)
|
||||
|
@ -259,7 +259,7 @@ _e_screensaver_handler_screensaver_on_cb(void *data __UNUSED__, int type __UNUSE
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_handler_screensaver_off_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_screensaver_handler_screensaver_off_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
// e_screensaver_force_update();
|
||||
// e_dpms_force_update();
|
||||
|
@ -285,21 +285,21 @@ _e_screensaver_handler_screensaver_off_cb(void *data __UNUSED__, int type __UNUS
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_handler_border_fullscreen_check_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_screensaver_handler_border_fullscreen_check_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
e_screensaver_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_handler_border_desk_set_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_screensaver_handler_border_desk_set_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
e_screensaver_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_screensaver_handler_desk_show_cb(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
|
||||
_e_screensaver_handler_desk_show_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
e_screensaver_update();
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
|
|
|
@ -407,7 +407,7 @@ e_scrollframe_key_navigation_set(Evas_Object *obj, Eina_Bool enabled)
|
|||
|
||||
/* local subsystem functions */
|
||||
static void
|
||||
_e_smart_edje_drag_v(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_smart_edje_drag_v(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
|
||||
|
@ -416,7 +416,7 @@ _e_smart_edje_drag_v(void *data, Evas_Object *obj __UNUSED__, const char *emissi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_edje_drag_h(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_smart_edje_drag_h(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
|
||||
|
@ -425,7 +425,7 @@ _e_smart_edje_drag_h(void *data, Evas_Object *obj __UNUSED__, const char *emissi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_child_del_hook(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_smart_child_del_hook(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd;
|
||||
|
||||
|
@ -436,7 +436,7 @@ _e_smart_child_del_hook(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_pan_changed_hook(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_smart_pan_changed_hook(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Coord w, h;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -453,7 +453,7 @@ _e_smart_pan_changed_hook(void *data, Evas_Object *obj __UNUSED__, void *event_i
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_pan_pan_changed_hook(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_smart_pan_pan_changed_hook(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
Evas_Coord x, y;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -465,7 +465,7 @@ _e_smart_pan_pan_changed_hook(void *data, Evas_Object *obj __UNUSED__, void *eve
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Wheel *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -485,7 +485,7 @@ _e_smart_event_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -548,7 +548,7 @@ _e_smart_momentum_animator(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -613,7 +613,7 @@ _e_smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_move(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Move *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -688,7 +688,7 @@ _e_smart_event_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Key_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
|
|
@ -21,7 +21,7 @@ static Eina_Bool _e_shelf_cb_mouse_in(void *data, int type, void *event);
|
|||
//static Eina_Bool _e_shelf_cb_mouse_out(void *data, int type, void *event);
|
||||
//static void _e_shelf_cb_mouse_out2(E_Shelf *es, Evas *e, Evas_Object *obj, Evas_Event_Mouse_Out *ev);
|
||||
static int _e_shelf_cb_id_sort(const void *data1, const void *data2);
|
||||
static void _e_shelf_cb_menu_rename(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__);
|
||||
static void _e_shelf_cb_menu_rename(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED);
|
||||
static Eina_Bool _e_shelf_cb_hide_animator(void *data);
|
||||
static Eina_Bool _e_shelf_cb_hide_animator_timer(void *data);
|
||||
static Eina_Bool _e_shelf_cb_hide_urgent_timer(void *data);
|
||||
|
@ -1040,14 +1040,14 @@ _e_shelf_del_cb(void *d)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_event_rename_end_cb(void *data __UNUSED__, E_Event_Shelf *ev)
|
||||
_e_shelf_event_rename_end_cb(void *data EINA_UNUSED, E_Event_Shelf *ev)
|
||||
{
|
||||
e_object_unref(E_OBJECT(ev->shelf));
|
||||
free(ev);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_shelf_free_cb(void *data __UNUSED__, void *event)
|
||||
_e_shelf_free_cb(void *data EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Shelf *ev = event;
|
||||
E_Shelf *es = ev->shelf;
|
||||
|
@ -1126,7 +1126,7 @@ _e_shelf_free(E_Shelf *es)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_gadcon_min_size_request(void *data __UNUSED__, E_Gadcon *gc __UNUSED__, Evas_Coord w __UNUSED__, Evas_Coord h __UNUSED__)
|
||||
_e_shelf_gadcon_min_size_request(void *data EINA_UNUSED, E_Gadcon *gc EINA_UNUSED, Evas_Coord w EINA_UNUSED, Evas_Coord h EINA_UNUSED)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -1484,7 +1484,7 @@ _e_shelf_menu_append(E_Shelf *es, E_Menu *mn)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_items_append(void *data, E_Gadcon_Client *gcc __UNUSED__, E_Menu *mn)
|
||||
_e_shelf_cb_menu_items_append(void *data, E_Gadcon_Client *gcc EINA_UNUSED, E_Menu *mn)
|
||||
{
|
||||
E_Shelf *es;
|
||||
|
||||
|
@ -1511,7 +1511,7 @@ _e_shelf_cb_urgent_show(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_autohide(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_shelf_cb_menu_autohide(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es = data;
|
||||
|
||||
|
@ -1525,7 +1525,7 @@ _e_shelf_cb_menu_autohide(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_refresh(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_shelf_cb_menu_refresh(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es = data;
|
||||
|
||||
|
@ -1534,7 +1534,7 @@ _e_shelf_cb_menu_refresh(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_config(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_shelf_cb_menu_config(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es;
|
||||
|
||||
|
@ -1543,7 +1543,7 @@ _e_shelf_cb_menu_config(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_edit(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_shelf_cb_menu_edit(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es;
|
||||
|
||||
|
@ -1561,7 +1561,7 @@ _e_shelf_cb_menu_edit(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_contents(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_shelf_cb_menu_contents(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es;
|
||||
|
||||
|
@ -1590,7 +1590,7 @@ _e_shelf_cb_confirm_dialog_yes(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_delete(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_shelf_cb_menu_delete(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es;
|
||||
|
||||
|
@ -1617,7 +1617,7 @@ _e_shelf_cb_menu_delete(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_post(void *data, E_Menu *m __UNUSED__)
|
||||
_e_shelf_cb_menu_post(void *data, E_Menu *m EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es;
|
||||
|
||||
|
@ -1628,7 +1628,7 @@ _e_shelf_cb_menu_post(void *data, E_Menu *m __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_shelf_cb_mouse_down(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Shelf *es;
|
||||
|
@ -1830,7 +1830,7 @@ _e_shelf_cb_mouse_in(void *data, int type, void *event)
|
|||
|
||||
#if 0
|
||||
static void
|
||||
_e_shelf_cb_mouse_out2(E_Shelf *es, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Event_Mouse_Out *ev)
|
||||
_e_shelf_cb_mouse_out2(E_Shelf *es, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Event_Mouse_Out *ev)
|
||||
{
|
||||
int x, y, w, h;
|
||||
|
||||
|
@ -1881,7 +1881,7 @@ _e_shelf_cb_mouse_out(void *data, int type, void *event)
|
|||
|
||||
#endif
|
||||
static void
|
||||
_e_shelf_cb_dummy_moveresize(E_Shelf *es, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_shelf_cb_dummy_moveresize(E_Shelf *es, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
int x, y, w, h;
|
||||
|
||||
|
@ -1894,7 +1894,7 @@ _e_shelf_cb_dummy_moveresize(E_Shelf *es, Evas *e __UNUSED__, Evas_Object *obj _
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_dummy_del(E_Shelf *es, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_shelf_cb_dummy_del(E_Shelf *es, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
e_object_free(E_OBJECT(es));
|
||||
}
|
||||
|
@ -2108,7 +2108,7 @@ _e_shelf_cb_instant_hide_timer(void *data)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_shelf_gadcon_populate_handler_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_shelf_gadcon_populate_handler_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Event_Gadcon_Populate *ev = event;
|
||||
Eina_List *l;
|
||||
|
@ -2154,7 +2154,7 @@ _e_shelf_cb_menu_rename_cb(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_shelf_cb_menu_rename(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_shelf_cb_menu_rename(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Shelf *es = data;
|
||||
if (es->rename_dialog) return;
|
||||
|
|
|
@ -67,7 +67,7 @@ _e_write_safe_int(int fd, const char *buf, size_t size)
|
|||
* with the -rdynamic flag to GCC for any sort of decent output.
|
||||
*/
|
||||
EAPI void
|
||||
e_sigseg_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||
e_sigseg_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
#ifdef HAVE_WAYLAND_ONLY
|
||||
Eina_List *list, *l, *ll;
|
||||
|
@ -95,7 +95,7 @@ e_sigseg_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_sigill_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||
e_sigill_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
// In case of a sigill in Enlightenment, Enlightenment start will catch the sigill and continue,
|
||||
// because evas cpu detection use that behaviour. But if we get a SIGILL after that, we endup in
|
||||
|
@ -113,7 +113,7 @@ e_sigill_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_sigfpe_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||
e_sigfpe_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
#ifdef HAVE_WAYLAND_ONLY
|
||||
Eina_List *list, *l, *ll;
|
||||
|
@ -141,7 +141,7 @@ e_sigfpe_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_sigbus_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||
e_sigbus_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
#ifdef HAVE_WAYLAND_ONLY
|
||||
Eina_List *list, *l, *ll;
|
||||
|
@ -169,7 +169,7 @@ e_sigbus_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__
|
|||
}
|
||||
|
||||
EAPI void
|
||||
e_sigabrt_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||
e_sigabrt_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
#ifdef HAVE_WAYLAND_ONLY
|
||||
Eina_List *list, *l, *ll;
|
||||
|
|
|
@ -128,7 +128,7 @@ _e_smart_cb_slide_animator(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -144,7 +144,7 @@ _e_smart_event_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -169,7 +169,7 @@ _e_smart_event_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Move *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
|
|
@ -44,7 +44,7 @@ static void _e_smart_signal_cb_drag(void *data, Evas_Object *obj, const cha
|
|||
static void _e_smart_signal_cb_drag_start(void *data, Evas_Object *obj, const char *emission, const char *source);
|
||||
static void _e_smart_signal_cb_drag_stop(void *data, Evas_Object *obj, const char *emission, const char *source);
|
||||
static void _e_smart_event_key_down(void *data, Evas *e, Evas_Object *obj, void *event_info);
|
||||
static void _e_smart_event_mouse_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info);
|
||||
static void _e_smart_event_mouse_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info);
|
||||
static void _e_smart_reconfigure(E_Smart_Data *sd);
|
||||
static void _e_smart_add(Evas_Object *obj);
|
||||
static void _e_smart_del(Evas_Object *obj);
|
||||
|
@ -365,7 +365,7 @@ _e_smart_format_update(E_Smart_Data *sd)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_signal_cb_drag(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_smart_signal_cb_drag(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd = data;
|
||||
double pval = sd->val;
|
||||
|
@ -379,7 +379,7 @@ _e_smart_signal_cb_drag(void *data, Evas_Object *obj __UNUSED__, const char *emi
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_signal_cb_drag_start(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_smart_signal_cb_drag_start(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd = data;
|
||||
double pval = sd->val;
|
||||
|
@ -393,7 +393,7 @@ _e_smart_signal_cb_drag_start(void *data, Evas_Object *obj __UNUSED__, const cha
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_signal_cb_drag_stop(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_smart_signal_cb_drag_stop(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd = data;
|
||||
double pval = sd->val;
|
||||
|
@ -408,7 +408,7 @@ _e_smart_signal_cb_drag_stop(void *data, Evas_Object *obj __UNUSED__, const char
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_signal_cb_wheel_up(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_smart_signal_cb_wheel_up(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd = data;
|
||||
|
||||
|
@ -418,7 +418,7 @@ _e_smart_signal_cb_wheel_up(void *data, Evas_Object *obj __UNUSED__, const char
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_signal_cb_wheel_down(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_smart_signal_cb_wheel_down(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd = data;
|
||||
|
||||
|
@ -428,7 +428,7 @@ _e_smart_signal_cb_wheel_down(void *data, Evas_Object *obj __UNUSED__, const cha
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Key_Down *ev = event_info;
|
||||
E_Smart_Data *sd = data;
|
||||
|
@ -477,7 +477,7 @@ _e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev = event_info;
|
||||
Evas_Coord x, y, w, h;
|
||||
|
|
|
@ -102,7 +102,7 @@ e_slidesel_jump(Evas_Object *obj, int num)
|
|||
|
||||
/* local subsystem functions */
|
||||
static void
|
||||
_e_smart_event_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -121,7 +121,7 @@ _e_smart_event_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -151,7 +151,7 @@ _e_smart_event_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_smart_event_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Move *ev;
|
||||
E_Smart_Data *sd;
|
||||
|
@ -174,7 +174,7 @@ _e_smart_event_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNU
|
|||
}
|
||||
|
||||
static void
|
||||
_e_smart_event_key_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_smart_event_key_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
/*
|
||||
Evas_Event_Key_Down *ev;
|
||||
|
|
|
@ -236,7 +236,7 @@ _env_path_append(const char *env, const char *path)
|
|||
}
|
||||
|
||||
static void
|
||||
_sigusr1(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||
_sigusr1(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
struct sigaction action;
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ _e_startup(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_startup_next_cb(void *data __UNUSED__)
|
||||
_e_startup_next_cb(void *data EINA_UNUSED)
|
||||
{
|
||||
_e_startup();
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ _e_startup_error_dialog(const char *msg)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_startup_event_cb(void *data, int ev_type __UNUSED__, void *ev)
|
||||
_e_startup_event_cb(void *data, int ev_type EINA_UNUSED, void *ev)
|
||||
{
|
||||
char *buf;
|
||||
Efreet_Event_Cache_Update *e;
|
||||
|
|
|
@ -357,7 +357,7 @@ e_sys_con_extra_action_list_get(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_sys_systemd_inhibit_cb(void *data __UNUSED__, const Eldbus_Message *m, Eldbus_Pending *p __UNUSED__)
|
||||
_e_sys_systemd_inhibit_cb(void *data EINA_UNUSED, const Eldbus_Message *m, Eldbus_Pending *p EINA_UNUSED)
|
||||
{
|
||||
int fd = -1;
|
||||
if (eldbus_message_error_get(m, NULL, NULL)) return;
|
||||
|
@ -386,7 +386,7 @@ _e_sys_systemd_handle_inhibit(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_sys_systemd_check_cb(void *data, const Eldbus_Message *m, Eldbus_Pending *p __UNUSED__)
|
||||
_e_sys_systemd_check_cb(void *data, const Eldbus_Message *m, Eldbus_Pending *p EINA_UNUSED)
|
||||
{
|
||||
int *dest = data;
|
||||
char *s = NULL;
|
||||
|
@ -415,7 +415,7 @@ _e_sys_systemd_check(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_sys_systemd_exists_cb(void *data __UNUSED__, const Eldbus_Message *m, Eldbus_Pending *p __UNUSED__)
|
||||
_e_sys_systemd_exists_cb(void *data EINA_UNUSED, const Eldbus_Message *m, Eldbus_Pending *p EINA_UNUSED)
|
||||
{
|
||||
const char *id = NULL;
|
||||
|
||||
|
@ -463,7 +463,7 @@ _e_sys_resume_job(void *d EINA_UNUSED)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_sys_susp_hib_check_timer_cb(void *data __UNUSED__)
|
||||
_e_sys_susp_hib_check_timer_cb(void *data EINA_UNUSED)
|
||||
{
|
||||
double t = ecore_time_unix_get();
|
||||
|
||||
|
@ -494,7 +494,7 @@ _e_sys_susp_hib_check(void)
|
|||
|
||||
/* local subsystem functions */
|
||||
static Eina_Bool
|
||||
_e_sys_cb_timer(void *data __UNUSED__)
|
||||
_e_sys_cb_timer(void *data EINA_UNUSED)
|
||||
{
|
||||
/* exec out sys helper and ask it to test if we are allowed to do these
|
||||
* things
|
||||
|
@ -522,7 +522,7 @@ _e_sys_cb_timer(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_sys_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_sys_cb_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *ev;
|
||||
|
||||
|
@ -587,7 +587,7 @@ _e_sys_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_sys_cb_logout_logout(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_sys_cb_logout_logout(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (_e_sys_logout_timer)
|
||||
{
|
||||
|
@ -601,7 +601,7 @@ _e_sys_cb_logout_logout(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_sys_cb_logout_wait(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_sys_cb_logout_wait(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (_e_sys_logout_timer) ecore_timer_del(_e_sys_logout_timer);
|
||||
_e_sys_logout_timer = ecore_timer_add(0.5, _e_sys_cb_logout_timer, NULL);
|
||||
|
@ -611,7 +611,7 @@ _e_sys_cb_logout_wait(void *data __UNUSED__, E_Dialog *dia)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_sys_cb_logout_abort(void *data __UNUSED__, E_Dialog *dia)
|
||||
_e_sys_cb_logout_abort(void *data EINA_UNUSED, E_Dialog *dia)
|
||||
{
|
||||
if (_e_sys_logout_timer)
|
||||
{
|
||||
|
@ -655,7 +655,7 @@ _e_sys_logout_confirm_dialog_update(int remaining)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_sys_cb_logout_timer(void *data __UNUSED__)
|
||||
_e_sys_cb_logout_timer(void *data EINA_UNUSED)
|
||||
{
|
||||
E_Client *ec;
|
||||
int pending = 0;
|
||||
|
@ -885,7 +885,7 @@ _e_sys_action_failed(void)
|
|||
}
|
||||
|
||||
static int
|
||||
_e_sys_action_do(E_Sys_Action a, char *param __UNUSED__, Eina_Bool raw)
|
||||
_e_sys_action_do(E_Sys_Action a, char *param EINA_UNUSED, Eina_Bool raw)
|
||||
{
|
||||
char buf[PATH_MAX];
|
||||
E_Obj_Dialog *od;
|
||||
|
@ -1102,7 +1102,7 @@ _e_sys_action_do(E_Sys_Action a, char *param __UNUSED__, Eina_Bool raw)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_sys_dialog_cb_delete(E_Obj_Dialog *od __UNUSED__)
|
||||
_e_sys_dialog_cb_delete(E_Obj_Dialog *od EINA_UNUSED)
|
||||
{
|
||||
/* If we don't NULL out the _e_sys_dialog, then the
|
||||
* ECORE_EXE_EVENT_DEL callback will trigger and segv if the window
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "e.h"
|
||||
|
||||
static void e_theme_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path);
|
||||
static int e_theme_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path);
|
||||
static void e_theme_handler_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path);
|
||||
static int e_theme_handler_test(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path);
|
||||
|
||||
static E_Fm2_Mime_Handler *theme_hdl = NULL;
|
||||
|
||||
|
@ -170,7 +170,7 @@ e_theme_comp_frame_list(void)
|
|||
|
||||
/* local subsystem functions */
|
||||
static void
|
||||
e_theme_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path)
|
||||
e_theme_handler_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path)
|
||||
{
|
||||
E_Action *a;
|
||||
char buf[PATH_MAX];
|
||||
|
@ -234,7 +234,7 @@ e_theme_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const ch
|
|||
}
|
||||
|
||||
static int
|
||||
e_theme_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path)
|
||||
e_theme_handler_test(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path)
|
||||
{
|
||||
if (!path) return 0;
|
||||
if (!edje_file_group_exists(path, "e/widgets/border/default/border"))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/* local subsystem functions */
|
||||
static void
|
||||
_cb_settings_theme(void *data EINA_UNUSED, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_cb_settings_theme(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
e_configure_registry_call("appearance/theme", NULL, NULL);
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ e_thumb_shutdown(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_thumb_preloaded(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
|
||||
_thumb_preloaded(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
|
||||
{
|
||||
evas_object_smart_callback_call(data, "e_thumb_gen", NULL);
|
||||
}
|
||||
|
@ -324,7 +324,7 @@ _e_thumb_gen_end(int objid)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_thumb_del_hook(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_thumb_del_hook(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Thumb *eth;
|
||||
|
||||
|
@ -390,7 +390,7 @@ _e_thumb_thumbnailers_kill_cancel(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_thumb_cb_kill(void *data __UNUSED__)
|
||||
_e_thumb_cb_kill(void *data EINA_UNUSED)
|
||||
{
|
||||
Eina_List *l;
|
||||
Ecore_Exe *exe;
|
||||
|
@ -402,7 +402,7 @@ _e_thumb_cb_kill(void *data __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_thumb_cb_exe_event_del(void *data __UNUSED__, int type __UNUSED__, void *event)
|
||||
_e_thumb_cb_exe_event_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *ev;
|
||||
Ecore_Exe *exe;
|
||||
|
|
|
@ -152,8 +152,8 @@ _e_ipc_init(void)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_ipc_cb_server_add(void *data __UNUSED__,
|
||||
int type __UNUSED__,
|
||||
_e_ipc_cb_server_add(void *data EINA_UNUSED,
|
||||
int type EINA_UNUSED,
|
||||
void *event)
|
||||
{
|
||||
Ecore_Ipc_Event_Server_Add *e;
|
||||
|
@ -167,9 +167,9 @@ _e_ipc_cb_server_add(void *data __UNUSED__,
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_ipc_cb_server_del(void *data __UNUSED__,
|
||||
int type __UNUSED__,
|
||||
void *event __UNUSED__)
|
||||
_e_ipc_cb_server_del(void *data EINA_UNUSED,
|
||||
int type EINA_UNUSED,
|
||||
void *event EINA_UNUSED)
|
||||
{
|
||||
/* quit now */
|
||||
ecore_main_loop_quit();
|
||||
|
@ -177,8 +177,8 @@ _e_ipc_cb_server_del(void *data __UNUSED__,
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_ipc_cb_server_data(void *data __UNUSED__,
|
||||
int type __UNUSED__,
|
||||
_e_ipc_cb_server_data(void *data EINA_UNUSED,
|
||||
int type EINA_UNUSED,
|
||||
void *event)
|
||||
{
|
||||
Ecore_Ipc_Event_Server_Data *e;
|
||||
|
@ -243,7 +243,7 @@ _e_ipc_cb_server_data(void *data __UNUSED__,
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_cb_timer(void *data __UNUSED__)
|
||||
_e_cb_timer(void *data EINA_UNUSED)
|
||||
{
|
||||
E_Thumb *eth;
|
||||
/*
|
||||
|
|
|
@ -24,7 +24,7 @@ static Eina_List *toolbars = NULL;
|
|||
static E_Gadcon_Location *tb_location = NULL;
|
||||
|
||||
static void
|
||||
_tb_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *info __UNUSED__)
|
||||
_tb_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *info EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar = data;
|
||||
Evas_Coord w, h;
|
||||
|
@ -298,7 +298,7 @@ _e_toolbar_free(E_Toolbar *tbar)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_cb_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
_e_toolbar_cb_mouse_down(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
E_Toolbar *tbar;
|
||||
|
@ -320,7 +320,7 @@ _e_toolbar_cb_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __U
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_menu_cb_post(void *data, E_Menu *mn __UNUSED__)
|
||||
_e_toolbar_menu_cb_post(void *data, E_Menu *mn EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
|
||||
|
@ -363,7 +363,7 @@ _e_toolbar_menu_cb_pre(void *data, E_Menu *mn)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_menu_items_append(void *data, E_Gadcon_Client *gcc __UNUSED__, E_Menu *mn)
|
||||
_e_toolbar_menu_items_append(void *data, E_Gadcon_Client *gcc EINA_UNUSED, E_Menu *mn)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
|
||||
|
@ -387,7 +387,7 @@ _e_toolbar_menu_append(E_Toolbar *tbar, E_Menu *mn)
|
|||
}
|
||||
/*
|
||||
static void
|
||||
_e_toolbar_menu_cb_edit(void *data, E_Menu *mn __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_toolbar_menu_cb_edit(void *data, E_Menu *mn EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
|
||||
|
@ -399,7 +399,7 @@ _e_toolbar_menu_cb_edit(void *data, E_Menu *mn __UNUSED__, E_Menu_Item *mi __UNU
|
|||
}
|
||||
*/
|
||||
static void
|
||||
_e_toolbar_menu_cb_config(void *data, E_Menu *mn __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_toolbar_menu_cb_config(void *data, E_Menu *mn EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
|
||||
|
@ -408,7 +408,7 @@ _e_toolbar_menu_cb_config(void *data, E_Menu *mn __UNUSED__, E_Menu_Item *mi __U
|
|||
}
|
||||
/*
|
||||
static void
|
||||
_e_toolbar_menu_cb_contents(void *data, E_Menu *mn __UNUSED__, E_Menu_Item *mi __UNUSED__)
|
||||
_e_toolbar_menu_cb_contents(void *data, E_Menu *mn EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
|
||||
|
@ -486,7 +486,7 @@ _e_toolbar_orient_string_get(E_Toolbar *tbar)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_fm2_changed(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_toolbar_fm2_changed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
Eina_List *l = NULL;
|
||||
|
@ -502,7 +502,7 @@ _e_toolbar_fm2_changed(void *data, Evas_Object *obj __UNUSED__, void *event_info
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_fm2_dir_changed(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_toolbar_fm2_dir_changed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
Eina_List *l = NULL;
|
||||
|
@ -518,7 +518,7 @@ _e_toolbar_fm2_dir_changed(void *data, Evas_Object *obj __UNUSED__, void *event_
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_fm2_dir_deleted(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_toolbar_fm2_dir_deleted(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
Eina_List *l = NULL;
|
||||
|
@ -534,7 +534,7 @@ _e_toolbar_fm2_dir_deleted(void *data, Evas_Object *obj __UNUSED__, void *event_
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_fm2_files_deleted(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_toolbar_fm2_files_deleted(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
Eina_List *l = NULL;
|
||||
|
@ -550,7 +550,7 @@ _e_toolbar_fm2_files_deleted(void *data, Evas_Object *obj __UNUSED__, void *even
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_fm2_selected(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_toolbar_fm2_selected(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
Eina_List *l = NULL;
|
||||
|
@ -566,7 +566,7 @@ _e_toolbar_fm2_selected(void *data, Evas_Object *obj __UNUSED__, void *event_inf
|
|||
}
|
||||
|
||||
static void
|
||||
_e_toolbar_fm2_selection_changed(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_toolbar_fm2_selection_changed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Toolbar *tbar;
|
||||
Eina_List *l = NULL;
|
||||
|
|
|
@ -17,13 +17,13 @@ _update_done(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_delete_cb(void *obj __UNUSED__)
|
||||
_delete_cb(void *obj EINA_UNUSED)
|
||||
{
|
||||
dialog = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
_ok_cb(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_ok_cb(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(dialog));
|
||||
if (e_config->update.later > 0)
|
||||
|
@ -34,7 +34,7 @@ _ok_cb(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_bother_me_later_cb(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_bother_me_later_cb(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
e_object_del(E_OBJECT(dialog));
|
||||
// 5 * 5 * 1hr === about 1 day limit, so bother-me later will wait
|
||||
|
@ -47,7 +47,7 @@ _bother_me_later_cb(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_never_tell_me_cb(void *data __UNUSED__, E_Dialog *dia __UNUSED__)
|
||||
_never_tell_me_cb(void *data EINA_UNUSED, E_Dialog *dia EINA_UNUSED)
|
||||
{
|
||||
if (update_timer) ecore_timer_del(update_timer);
|
||||
update_timer = NULL;
|
||||
|
@ -93,7 +93,7 @@ _new_version(const char *ver)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_upload_data_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *event)
|
||||
_upload_data_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Con_Event_Url_Data *ev = event;
|
||||
if (ev->url_con != url_up) return EINA_TRUE;
|
||||
|
@ -121,7 +121,7 @@ _upload_data_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_upload_progress_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *event)
|
||||
_upload_progress_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Con_Event_Url_Progress *ev = event;
|
||||
if (ev->url_con != url_up) return EINA_TRUE;
|
||||
|
@ -129,7 +129,7 @@ _upload_progress_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *event)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_upload_complete_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *event)
|
||||
_upload_complete_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Con_Event_Url_Complete *ev = event;
|
||||
if (ev->url_con != url_up) return EINA_TRUE;
|
||||
|
|
|
@ -870,7 +870,7 @@ _e_util_cb_delayed_del(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_util_cb_delayed_cancel(void *data, void *obj __UNUSED__)
|
||||
_e_util_cb_delayed_cancel(void *data, void *obj EINA_UNUSED)
|
||||
{
|
||||
Ecore_Idle_Enterer *idler = data;
|
||||
|
||||
|
@ -878,7 +878,7 @@ _e_util_cb_delayed_cancel(void *data, void *obj __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_e_util_wakeup_cb(void *data __UNUSED__)
|
||||
_e_util_wakeup_cb(void *data EINA_UNUSED)
|
||||
{
|
||||
_e_util_dummy_timer = NULL;
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
|
@ -1035,7 +1035,7 @@ e_util_time_str_get(long int seconds)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_util_size_debug_free(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_util_size_debug_free(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
int x, y, w, h;
|
||||
const char *name;
|
||||
|
@ -1046,7 +1046,7 @@ _e_util_size_debug_free(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *
|
|||
}
|
||||
|
||||
static void
|
||||
_e_util_size_debug_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_util_size_debug_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
int x, y, w, h;
|
||||
const char *name;
|
||||
|
@ -1057,7 +1057,7 @@ _e_util_size_debug_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o
|
|||
}
|
||||
|
||||
static void
|
||||
_e_util_size_debug_stack(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_util_size_debug_stack(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
int x, y, w, h;
|
||||
const char *name;
|
||||
|
@ -1068,7 +1068,7 @@ _e_util_size_debug_stack(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object
|
|||
}
|
||||
|
||||
static void
|
||||
_e_util_size_debug(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
_e_util_size_debug(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
int x, y, w, h;
|
||||
const char *name;
|
||||
|
|
|
@ -141,9 +141,9 @@ e_widget_size_min_get(Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh)
|
|||
|
||||
static void
|
||||
_sub_obj_del(void *data,
|
||||
Evas *e __UNUSED__,
|
||||
Evas *e EINA_UNUSED,
|
||||
Evas_Object *obj,
|
||||
void *event_info __UNUSED__)
|
||||
void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Smart_Data *sd = data;
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ _e_wid_reconfigure(E_Widget_Data *wd)
|
|||
}
|
||||
|
||||
static void
|
||||
_cb_reconfigure(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_cb_reconfigure(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Widget_Data *wd;
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ struct _E_Widget_Desk_Data
|
|||
};
|
||||
|
||||
/* local function prototypes */
|
||||
static void _e_wid_data_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__);
|
||||
static void _e_wid_livethumb_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj EINA_UNUSED, void *event_info __UNUSED__);
|
||||
static void _e_wid_data_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
|
||||
static void _e_wid_livethumb_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
|
||||
static void _e_wid_del_hook(Evas_Object *obj);
|
||||
static void _e_wid_reconfigure(E_Widget_Data *wd);
|
||||
static void _e_wid_desk_cb_config(void *data, Evas *evas, Evas_Object *obj, void *event);
|
||||
|
@ -147,7 +147,7 @@ _e_wid_livethumb_resize_job(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_wid_livethumb_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj EINA_UNUSED, void *event_info __UNUSED__)
|
||||
_e_wid_livethumb_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Widget_Desk_Data *dd = data;
|
||||
|
||||
|
@ -156,7 +156,7 @@ _e_wid_livethumb_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj EINA_UN
|
|||
}
|
||||
|
||||
static void
|
||||
_e_wid_data_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_wid_data_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
E_Widget_Desk_Data *dd;
|
||||
dd = data;
|
||||
|
@ -269,7 +269,7 @@ _e_wid_reconfigure(E_Widget_Data *wd)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_wid_desk_cb_config(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event)
|
||||
_e_wid_desk_cb_config(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
|
||||
{
|
||||
E_Widget_Desk_Data *dd;
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
|
@ -287,7 +287,7 @@ _e_wid_desk_cb_config(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUS
|
|||
}
|
||||
|
||||
static void
|
||||
_e_wid_cb_resize(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event __UNUSED__)
|
||||
_e_wid_cb_resize(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED)
|
||||
{
|
||||
E_Widget_Data *wd;
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ _click(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_wid_focus_steal(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_wid_focus_steal(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
e_widget_focus_steal(data);
|
||||
}
|
||||
|
|
|
@ -109,13 +109,13 @@ _e_wid_disable_hook(Evas_Object *obj)
|
|||
}
|
||||
|
||||
static void
|
||||
_e_wid_signal_cb1(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||
_e_wid_signal_cb1(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
_e_wid_do(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_e_wid_focus_steal(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
_e_wid_focus_steal(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
e_widget_focus_steal(data);
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue