Remove Evas list and replace them with Eina list.

No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
devs/princeamd/enlightenment-0.17-elive
Cedric BAIL 14 years ago
parent b170c9ffe0
commit 1087de2397
  1. 4
      src/bin/e.h
  2. 80
      src/bin/e_actions.c
  3. 6
      src/bin/e_actions.h
  4. 16
      src/bin/e_bg.c
  5. 68
      src/bin/e_bindings.c
  6. 216
      src/bin/e_border.c
  7. 18
      src/bin/e_border.h
  8. 38
      src/bin/e_box.c
  9. 16
      src/bin/e_canvas.c
  10. 10
      src/bin/e_color_class.c
  11. 2
      src/bin/e_color_class.h
  12. 90
      src/bin/e_config.c
  13. 56
      src/bin/e_config.h
  14. 8
      src/bin/e_config_data.c
  15. 10
      src/bin/e_config_dialog.c
  16. 50
      src/bin/e_configure.c
  17. 4
      src/bin/e_configure.h
  18. 140
      src/bin/e_container.c
  19. 16
      src/bin/e_container.h
  20. 16
      src/bin/e_desk.c
  21. 32
      src/bin/e_desklock.c
  22. 10
      src/bin/e_dialog.c
  23. 2
      src/bin/e_dialog.h
  24. 74
      src/bin/e_dnd.c
  25. 22
      src/bin/e_exec.c
  26. 40
      src/bin/e_exehist.c
  27. 2
      src/bin/e_exehist.h
  28. 38
      src/bin/e_flowlayout.c
  29. 326
      src/bin/e_fm.c
  30. 4
      src/bin/e_fm.h
  31. 30
      src/bin/e_fm_custom.c
  32. 42
      src/bin/e_fm_hal.c
  33. 126
      src/bin/e_fm_main.c
  34. 52
      src/bin/e_fm_mime.c
  35. 4
      src/bin/e_fm_mime.h
  36. 62
      src/bin/e_fm_op.c
  37. 6
      src/bin/e_fm_prop.c
  38. 20
      src/bin/e_fm_shared.h
  39. 80
      src/bin/e_font.c
  40. 12
      src/bin/e_font.h
  41. 192
      src/bin/e_gadcon.c
  42. 4
      src/bin/e_gadcon.h
  43. 8
      src/bin/e_hints.c
  44. 106
      src/bin/e_ilist.c
  45. 2
      src/bin/e_ilist.h
  46. 20
      src/bin/e_init.c
  47. 10
      src/bin/e_init_main.c
  48. 2
      src/bin/e_int_border_remember.c
  49. 26
      src/bin/e_int_config_modules.c
  50. 10
      src/bin/e_int_gadcon_config.c
  51. 90
      src/bin/e_int_menus.c
  52. 14
      src/bin/e_int_shelf_config.c
  53. 86
      src/bin/e_intl.c
  54. 4
      src/bin/e_intl.h
  55. 56
      src/bin/e_ipc_codec.c
  56. 38
      src/bin/e_ipc_codec.h
  57. 138
      src/bin/e_ipc_handlers.h
  58. 38
      src/bin/e_layout.c
  59. 16
      src/bin/e_main.c
  60. 52
      src/bin/e_manager.c
  61. 6
      src/bin/e_manager.h
  62. 32
      src/bin/e_maximize.c
  63. 116
      src/bin/e_menu.c
  64. 4
      src/bin/e_menu.h
  65. 46
      src/bin/e_module.c
  66. 2
      src/bin/e_module.h
  67. 14
      src/bin/e_msg.c
  68. 8
      src/bin/e_msgbus.c
  69. 8
      src/bin/e_object.c
  70. 54
      src/bin/e_order.c
  71. 6
      src/bin/e_order.h
  72. 46
      src/bin/e_path.c
  73. 10
      src/bin/e_path.h
  74. 22
      src/bin/e_place.c
  75. 2
      src/bin/e_place.h
  76. 40
      src/bin/e_pointer.c
  77. 2
      src/bin/e_pointer.h
  78. 16
      src/bin/e_popup.c
  79. 8
      src/bin/e_powersave.c
  80. 20
      src/bin/e_remember.c
  81. 24
      src/bin/e_resist.c
  82. 4
      src/bin/e_resist.h
  83. 36
      src/bin/e_shelf.c
  84. 4
      src/bin/e_shelf.h
  85. 14
      src/bin/e_slidecore.c
  86. 4
      src/bin/e_slidesel.c
  87. 2
      src/bin/e_startup.c
  88. 4
      src/bin/e_sys.c
  89. 12
      src/bin/e_table.c
  90. 14
      src/bin/e_test.c
  91. 76
      src/bin/e_theme.c
  92. 10
      src/bin/e_theme.h
  93. 46
      src/bin/e_thumb.c
  94. 12
      src/bin/e_thumb_main.c
  95. 22
      src/bin/e_toolbar.c
  96. 20
      src/bin/e_utils.c
  97. 20
      src/bin/e_widget.c
  98. 14
      src/bin/e_widget_csel.c
  99. 18
      src/bin/e_widget_desk_preview.c
  100. 4
      src/bin/e_widget_flist.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -123,13 +123,13 @@ typedef struct _E_Rect E_Rect;
{ \
if (list) \
{ \
Evas_List *tmp; \
Eina_List *tmp; \
tmp = list; \
list = NULL; \
while (tmp) \
{ \
free(tmp->data); \
tmp = evas_list_remove_list(tmp, tmp); \
tmp = eina_list_remove_list(tmp, tmp); \
} \
} \
} \

@ -1136,7 +1136,7 @@ ACT_FN_GO(desk_linear_flip_to)
#define DESK_ACTION_ALL(zone, act) \
E_Zone *zone; \
Evas_List *lm, *lc, *lz; \
Eina_List *lm, *lc, *lz; \
E_Container *con; \
E_Manager *man; \
\
@ -1227,16 +1227,16 @@ ACT_FN_GO(screen_send_to)
{
E_Zone *zone2 = NULL;
if (evas_list_count(e_manager_list()) > 1)
if (eina_list_count(e_manager_list()) > 1)
{
scr = scr % evas_list_count(e_manager_list());
if (scr < 0) scr += evas_list_count(e_manager_list());
scr = scr % eina_list_count(e_manager_list());
if (scr < 0) scr += eina_list_count(e_manager_list());
zone2 = e_util_container_zone_number_get(scr, 0);
}
else
{
scr = scr % evas_list_count(zone->container->zones);
if (scr < 0) scr += evas_list_count(zone->container->zones);
scr = scr % eina_list_count(zone->container->zones);
if (scr < 0) scr += eina_list_count(zone->container->zones);
zone2 = e_util_container_zone_number_get(0, scr);
}
if ((zone2) && (zone != zone2))
@ -1264,18 +1264,18 @@ ACT_FN_GO(screen_send_by)
{
E_Zone *zone2 = NULL;
if (evas_list_count(e_manager_list()) > 1)
if (eina_list_count(e_manager_list()) > 1)
{
scr += zone->container->num;
scr = scr % evas_list_count(e_manager_list());
if (scr < 0) scr += evas_list_count(e_manager_list());
scr = scr % eina_list_count(e_manager_list());
if (scr < 0) scr += eina_list_count(e_manager_list());
zone2 = e_util_container_zone_number_get(scr, 0);
}
else
{
scr += zone->num;
scr = scr % evas_list_count(zone->container->zones);
if (scr < 0) scr += evas_list_count(zone->container->zones);
scr = scr % eina_list_count(zone->container->zones);
if (scr < 0) scr += eina_list_count(zone->container->zones);
zone2 = e_util_container_zone_number_get(0, scr);
}
if ((zone2) && (zone != zone2))
@ -1290,7 +1290,7 @@ ACT_FN_GO(screen_send_by)
#define ZONE_DESK_ACTION(con_num, zone_num, zone, act) \
E_Zone *zone; \
if ((con_num < 0) || (zone_num < 0)) { \
Evas_List *l, *ll, *lll; \
Eina_List *l, *ll, *lll; \
E_Container *con; \
E_Manager *man; \
if ((con_num >= 0) && (zone_num < 0)) /* con=1 zone=all */ { \
@ -2043,7 +2043,7 @@ struct _Delayed_Action
} def, delayed;
};
static Evas_List *_delayed_actions = NULL;
static Eina_List *_delayed_actions = NULL;
static void
_delayed_action_free(Delayed_Action *da)
@ -2071,7 +2071,7 @@ _delayed_action_cb_timer(void *data)
{
if (act->func.go) act->func.go(da->obj, da->delayed.params);
}
_delayed_actions = evas_list_remove(_delayed_actions, da);
_delayed_actions = eina_list_remove(_delayed_actions, da);
_delayed_action_free(da);
return 0;
}
@ -2177,13 +2177,13 @@ _delayed_action_key_add(E_Object *obj, const char *params, Ecore_X_Event_Key_Dow
da->mouse = 0;
da->keyname = eina_stringshare_add(ev->keyname);
if (params) _delayed_action_list_parse(da, params);
_delayed_actions = evas_list_append(_delayed_actions, da);
_delayed_actions = eina_list_append(_delayed_actions, da);
}
static void
_delayed_action_key_del(E_Object *obj, const char *params, Ecore_X_Event_Key_Up *ev)
{
Evas_List *l;
Eina_List *l;
for (l = _delayed_actions; l; l = l->next)
{
@ -2195,7 +2195,7 @@ _delayed_action_key_del(E_Object *obj, const char *params, Ecore_X_Event_Key_Up
{
_delayed_action_do(da);
_delayed_action_free(da);
_delayed_actions = evas_list_remove_list(_delayed_actions, l);
_delayed_actions = eina_list_remove_list(_delayed_actions, l);
return;
}
}
@ -2216,13 +2216,13 @@ _delayed_action_mouse_add(E_Object *obj, const char *params, Ecore_X_Event_Mouse
da->mouse = 1;
da->button = ev->button;
if (params) _delayed_action_list_parse(da, params);
_delayed_actions = evas_list_append(_delayed_actions, da);
_delayed_actions = eina_list_append(_delayed_actions, da);
}
static void
_delayed_action_mouse_del(E_Object *obj, const char *params, Ecore_X_Event_Mouse_Button_Up *ev)
{
Evas_List *l;
Eina_List *l;
for (l = _delayed_actions; l; l = l->next)
{
@ -2234,7 +2234,7 @@ _delayed_action_mouse_del(E_Object *obj, const char *params, Ecore_X_Event_Mouse
{
_delayed_action_do(da);
_delayed_action_free(da);
_delayed_actions = evas_list_remove_list(_delayed_actions, l);
_delayed_actions = eina_list_remove_list(_delayed_actions, l);
return;
}
}
@ -2260,9 +2260,9 @@ ACT_FN_END_MOUSE(delayed_action)
/* local subsystem globals */
static Evas_Hash *actions = NULL;
static Evas_List *action_list = NULL;
static Evas_List *action_names = NULL;
static Evas_List *action_groups = NULL;
static Eina_List *action_list = NULL;
static Eina_List *action_names = NULL;
static Eina_List *action_groups = NULL;
/* externally accessible functions */
@ -2657,7 +2657,7 @@ EAPI int
e_actions_shutdown(void)
{
e_action_predef_name_all_del();
action_names = evas_list_free(action_names);
action_names = eina_list_free(action_names);
evas_hash_free(actions);
actions = NULL;
@ -2665,7 +2665,7 @@ e_actions_shutdown(void)
return 1;
}
EAPI Evas_List *
EAPI Eina_List *
e_action_name_list(void)
{
return action_names;
@ -2683,8 +2683,8 @@ e_action_add(const char *name)
if (!act) return NULL;
act->name = name;
actions = evas_hash_direct_add(actions, act->name, act);
action_names = evas_list_append(action_names, name);
action_list = evas_list_append(action_list, act);
action_names = eina_list_append(action_names, name);
action_list = eina_list_append(action_list, act);
}
return act;
}
@ -2713,7 +2713,7 @@ e_action_predef_name_set(const char *act_grp, const char *act_name, const char *
{
E_Action_Group *actg = NULL;
E_Action_Description *actd = NULL;
Evas_List *l;
Eina_List *l;
if (!act_grp || !act_name) return;
@ -2734,9 +2734,9 @@ e_action_predef_name_set(const char *act_grp, const char *act_name, const char *
actg->act_grp = eina_stringshare_add(act_grp);
actg->acts = NULL;
action_groups = evas_list_append(action_groups, actg);
action_groups = eina_list_append(action_groups, actg);
action_groups =
evas_list_sort(action_groups, evas_list_count(action_groups),
eina_list_sort(action_groups, eina_list_count(action_groups),
_action_groups_sort_cb);
}
@ -2759,7 +2759,7 @@ e_action_predef_name_set(const char *act_grp, const char *act_name, const char *
actd->param_example = param_example == NULL ? NULL : eina_stringshare_add(param_example);
actd->editable = editable;
actg->acts = evas_list_append(actg->acts, actd);
actg->acts = eina_list_append(actg->acts, actd);
}
EAPI void
@ -2767,7 +2767,7 @@ e_action_predef_name_del(const char *act_grp, const char *act_name)
{
E_Action_Group *actg = NULL;
E_Action_Description *actd = NULL;
Evas_List *l;
Eina_List *l;
for (l = action_groups; l; l = l->next)
{
@ -2784,7 +2784,7 @@ e_action_predef_name_del(const char *act_grp, const char *act_name)
actd = l->data;
if (!strcmp(actd->act_name, act_name))
{
actg->acts = evas_list_remove(actg->acts, actd);
actg->acts = eina_list_remove(actg->acts, actd);
if (actd->act_name) eina_stringshare_del(actd->act_name);
if (actd->act_cmd) eina_stringshare_del(actd->act_cmd);
@ -2793,9 +2793,9 @@ e_action_predef_name_del(const char *act_grp, const char *act_name)
E_FREE(actd);
if (!evas_list_count(actg->acts))
if (!eina_list_count(actg->acts))
{
action_groups = evas_list_remove(action_groups, actg);
action_groups = eina_list_remove(action_groups, actg);
if (actg->act_grp) eina_stringshare_del(actg->act_grp);
E_FREE(actg);
}
@ -2825,17 +2825,17 @@ e_action_predef_name_all_del(void)
E_FREE(actd);
actg->acts = evas_list_remove_list(actg->acts, actg->acts);
actg->acts = eina_list_remove_list(actg->acts, actg->acts);
}
if (actg->act_grp) eina_stringshare_del(actg->act_grp);
E_FREE(actg);
action_groups = evas_list_remove_list(action_groups, action_groups);
action_groups = eina_list_remove_list(action_groups, action_groups);
}
action_groups = NULL;
}
EAPI Evas_List *
EAPI Eina_List *
e_action_groups_get(void)
{
return action_groups;
@ -2847,8 +2847,8 @@ static void
_e_action_free(E_Action *act)
{
actions = evas_hash_del(actions, act->name, act);
action_names = evas_list_remove(action_names, act->name);
action_list = evas_list_remove(action_list, act);
action_names = eina_list_remove(action_names, act->name);
action_list = eina_list_remove(action_list, act);
free(act);
}

@ -42,13 +42,13 @@ struct _E_Action_Description
struct _E_Action_Group
{
const char *act_grp;
Evas_List *acts;
Eina_List *acts;
};
EAPI int e_actions_init(void);
EAPI int e_actions_shutdown(void);
EAPI Evas_List *e_action_name_list(void);
EAPI Eina_List *e_action_name_list(void);
EAPI E_Action *e_action_add(const char *name);
/* e_action_del allows, for example, modules to define their own actions dynamically. */
EAPI void e_action_del(const char *name);
@ -57,7 +57,7 @@ EAPI E_Action *e_action_find(const char *name);
EAPI void e_action_predef_name_set(const char *act_grp, const char *act_name, const char *act_cmd, const char *act_params, const char *param_example, int editable);
EAPI void e_action_predef_name_del(const char *act_grp, const char *act_name);
EAPI void e_action_predef_name_all_del(void);
EAPI Evas_List *e_action_groups_get(void);
EAPI Eina_List *e_action_groups_get(void);
#endif
#endif

@ -15,7 +15,7 @@ static E_Fm2_Mime_Handler *bg_hdl = NULL;
EAPI int
e_bg_init(void)
{
Evas_List *l = NULL;
Eina_List *l = NULL;
/* Register mime handler */
bg_hdl = e_fm2_mime_handler_new(_("Set As Background"),
@ -44,7 +44,7 @@ e_bg_init(void)
EAPI int
e_bg_shutdown(void)
{
Evas_List *l = NULL;
Eina_List *l = NULL;
/* Deregister mime handler */
if (bg_hdl)
@ -77,7 +77,7 @@ e_bg_shutdown(void)
EAPI const E_Config_Desktop_Background *
e_bg_config_get(int container_num, int zone_num, int desk_x, int desk_y)
{
Evas_List *l, *ll, *entries;
Eina_List *l, *ll, *entries;
E_Config_Desktop_Background *bg = NULL;
int current_spec = 0; /* how specific the setting is - we want the least general one that applies */
@ -125,7 +125,7 @@ EAPI const char *
e_bg_file_get(int container_num, int zone_num, int desk_x, int desk_y)
{
const E_Config_Desktop_Background *cfbg;
Evas_List *l, *entries;
Eina_List *l, *entries;
const char *bgfile = "";
int ok = 0;
@ -287,7 +287,7 @@ e_bg_add(int container, int zone, int desk_x, int desk_y, char *file)
cfbg->desk_x = desk_x;
cfbg->desk_y = desk_y;
cfbg->file = eina_stringshare_add(file);
e_config->desktop_backgrounds = evas_list_append(e_config->desktop_backgrounds, cfbg);
e_config->desktop_backgrounds = eina_list_append(e_config->desktop_backgrounds, cfbg);
e_filereg_register(cfbg->file);
@ -302,7 +302,7 @@ e_bg_add(int container, int zone, int desk_x, int desk_y, char *file)
EAPI void
e_bg_del(int container, int zone, int desk_x, int desk_y)
{
Evas_List *l = NULL;
Eina_List *l = NULL;
E_Event_Bg_Update *ev;
for (l = e_config->desktop_backgrounds; l; l = l->next)
@ -314,7 +314,7 @@ e_bg_del(int container, int zone, int desk_x, int desk_y)
if ((cfbg->container == container) && (cfbg->zone == zone) &&
(cfbg->desk_x == desk_x) && (cfbg->desk_y == desk_y))
{
e_config->desktop_backgrounds = evas_list_remove_list(e_config->desktop_backgrounds, l);
e_config->desktop_backgrounds = eina_list_remove_list(e_config->desktop_backgrounds, l);
e_filereg_deregister(cfbg->file);
if (cfbg->file) eina_stringshare_del(cfbg->file);
free(cfbg);
@ -333,7 +333,7 @@ e_bg_del(int container, int zone, int desk_x, int desk_y)
EAPI void
e_bg_update(void)
{
Evas_List *l, *ll, *lll;
Eina_List *l, *ll, *lll;
E_Manager *man;
E_Container *con;
E_Zone *zone;

@ -13,17 +13,17 @@ static int _e_bindings_context_match(E_Binding_Context bctxt, E_Binding_Context
/* local subsystem globals */
static Evas_List *mouse_bindings = NULL;
static Evas_List *key_bindings = NULL;
static Evas_List *signal_bindings = NULL;
static Evas_List *wheel_bindings = NULL;
static Eina_List *mouse_bindings = NULL;
static Eina_List *key_bindings = NULL;
static Eina_List *signal_bindings = NULL;
static Eina_List *wheel_bindings = NULL;
/* externally accessible functions */
EAPI int
e_bindings_init(void)
{
Evas_List *l;
Eina_List *l;
for (l = e_config->mouse_bindings; l; l = l->next)
{
@ -86,7 +86,7 @@ e_bindings_shutdown(void)
E_Binding_Mouse *bind;
bind = mouse_bindings->data;
mouse_bindings = evas_list_remove_list(mouse_bindings, mouse_bindings);
mouse_bindings = eina_list_remove_list(mouse_bindings, mouse_bindings);
_e_bindings_mouse_free(bind);
}
while (key_bindings)
@ -94,7 +94,7 @@ e_bindings_shutdown(void)
E_Binding_Key *bind;
bind = key_bindings->data;
key_bindings = evas_list_remove_list(key_bindings, key_bindings);
key_bindings = eina_list_remove_list(key_bindings, key_bindings);
_e_bindings_key_free(bind);
}
while (signal_bindings)
@ -102,7 +102,7 @@ e_bindings_shutdown(void)
E_Binding_Signal *bind;
bind = signal_bindings->data;
signal_bindings = evas_list_remove_list(signal_bindings, signal_bindings);
signal_bindings = eina_list_remove_list(signal_bindings, signal_bindings);
_e_bindings_signal_free(bind);
}
while (wheel_bindings)
@ -110,7 +110,7 @@ e_bindings_shutdown(void)
E_Binding_Wheel *bind;
bind = wheel_bindings->data;
wheel_bindings = evas_list_remove_list(wheel_bindings, wheel_bindings);
wheel_bindings = eina_list_remove_list(wheel_bindings, wheel_bindings);
_e_bindings_wheel_free(bind);
}
return 1;
@ -128,13 +128,13 @@ e_bindings_mouse_add(E_Binding_Context ctxt, int button, E_Binding_Modifier mod,
bind->any_mod = any_mod;
if (action) bind->action = eina_stringshare_add(action);
if (params) bind->params = eina_stringshare_add(params);
mouse_bindings = evas_list_append(mouse_bindings, bind);
mouse_bindings = eina_list_append(mouse_bindings, bind);
}
EAPI void
e_bindings_mouse_del(E_Binding_Context ctxt, int button, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
Evas_List *l;
Eina_List *l;
for (l = mouse_bindings; l; l = l->next)
{
@ -151,7 +151,7 @@ e_bindings_mouse_del(E_Binding_Context ctxt, int button, E_Binding_Modifier mod,
((!bind->params) && (!params))))
{
_e_bindings_mouse_free(bind);
mouse_bindings = evas_list_remove_list(mouse_bindings, l);
mouse_bindings = eina_list_remove_list(mouse_bindings, l);
break;
}
}
@ -160,7 +160,7 @@ e_bindings_mouse_del(E_Binding_Context ctxt, int button, E_Binding_Modifier mod,
EAPI void
e_bindings_mouse_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
Eina_List *l;
for (l = mouse_bindings; l; l = l->next)
{
@ -188,7 +188,7 @@ e_bindings_mouse_grab(E_Binding_Context ctxt, Ecore_X_Window win)
EAPI void
e_bindings_mouse_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
Eina_List *l;
for (l = mouse_bindings; l; l = l->next)
{
@ -214,7 +214,7 @@ EAPI E_Action *
e_bindings_mouse_down_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Button_Down *ev, E_Binding_Mouse **bind_ret)
{
E_Binding_Modifier mod = 0;
Evas_List *l;
Eina_List *l;
if (ev->modifiers & ECORE_X_MODIFIER_SHIFT) mod |= E_BINDING_MODIFIER_SHIFT;
if (ev->modifiers & ECORE_X_MODIFIER_CTRL) mod |= E_BINDING_MODIFIER_CTRL;
@ -263,7 +263,7 @@ EAPI E_Action *
e_bindings_mouse_up_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Button_Up *ev, E_Binding_Mouse **bind_ret)
{
E_Binding_Modifier mod = 0;
Evas_List *l;
Eina_List *l;
if (ev->modifiers & ECORE_X_MODIFIER_SHIFT) mod |= E_BINDING_MODIFIER_SHIFT;
if (ev->modifiers & ECORE_X_MODIFIER_CTRL) mod |= E_BINDING_MODIFIER_CTRL;
@ -320,13 +320,13 @@ e_bindings_key_add(E_Binding_Context ctxt, const char *key, E_Binding_Modifier m
bind->any_mod = any_mod;
if (action) bind->action = eina_stringshare_add(action);
if (params) bind->params = eina_stringshare_add(params);
key_bindings = evas_list_append(key_bindings, bind);
key_bindings = eina_list_append(key_bindings, bind);
}
EAPI E_Binding_Key *
e_bindings_key_get(const char *action)
{
Evas_List *l;
Eina_List *l;
for (l = key_bindings; l; l = l->next)
{
@ -342,7 +342,7 @@ e_bindings_key_get(const char *action)
EAPI void
e_bindings_key_del(E_Binding_Context ctxt, const char *key, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
Evas_List *l;
Eina_List *l;
for (l = key_bindings; l; l = l->next)
{
@ -359,7 +359,7 @@ e_bindings_key_del(E_Binding_Context ctxt, const char *key, E_Binding_Modifier m
((!bind->params) && (!params))))
{
_e_bindings_key_free(bind);
key_bindings = evas_list_remove_list(key_bindings, l);
key_bindings = eina_list_remove_list(key_bindings, l);
break;
}
}
@ -368,7 +368,7 @@ e_bindings_key_del(E_Binding_Context ctxt, const char *key, E_Binding_Modifier m
EAPI void
e_bindings_key_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
Eina_List *l;
for (l = key_bindings; l; l = l->next)
{
@ -396,7 +396,7 @@ e_bindings_key_grab(E_Binding_Context ctxt, Ecore_X_Window win)
EAPI void
e_bindings_key_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
Eina_List *l;
for (l = key_bindings; l; l = l->next)
{
@ -425,7 +425,7 @@ EAPI E_Action *
e_bindings_key_down_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Key_Down *ev)
{
E_Binding_Modifier mod = 0;
Evas_List *l;
Eina_List *l;
if (ev->modifiers & ECORE_X_MODIFIER_SHIFT) mod |= E_BINDING_MODIFIER_SHIFT;
if (ev->modifiers & ECORE_X_MODIFIER_CTRL) mod |= E_BINDING_MODIFIER_CTRL;
@ -479,7 +479,7 @@ EAPI E_Action *
e_bindings_key_up_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Key_Up *ev)
{
E_Binding_Modifier mod = 0;
Evas_List *l;
Eina_List *l;
if (ev->modifiers & ECORE_X_MODIFIER_SHIFT) mod |= E_BINDING_MODIFIER_SHIFT;
if (ev->modifiers & ECORE_X_MODIFIER_CTRL) mod |= E_BINDING_MODIFIER_CTRL;
@ -529,13 +529,13 @@ e_bindings_signal_add(E_Binding_Context ctxt, const char *sig, const char *src,
bind->any_mod = any_mod;
if (action) bind->action = eina_stringshare_add(action);
if (params) bind->params = eina_stringshare_add(params);
signal_bindings = evas_list_append(signal_bindings, bind);
signal_bindings = eina_list_append(signal_bindings, bind);
}
EAPI void
e_bindings_signal_del(E_Binding_Context ctxt, const char *sig, const char *src, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
Evas_List *l;
Eina_List *l;
for (l = signal_bindings; l; l = l->next)
{
@ -555,7 +555,7 @@ e_bindings_signal_del(E_Binding_Context ctxt, const char *sig, const char *src,
((!bind->params) && (!params))))
{
_e_bindings_signal_free(bind);
signal_bindings = evas_list_remove_list(signal_bindings, l);
signal_bindings = eina_list_remove_list(signal_bindings, l);
break;
}
}
@ -565,7 +565,7 @@ EAPI E_Action *
e_bindings_signal_find(E_Binding_Context ctxt, E_Object *obj, const char *sig, const char *src, E_Binding_Signal **bind_ret)
{
E_Binding_Modifier mod = 0;
Evas_List *l;
Eina_List *l;
if (strstr(sig, "MOD:Shift")) mod |= E_BINDING_MODIFIER_SHIFT;
if (strstr(sig, "MOD:Control")) mod |= E_BINDING_MODIFIER_CTRL;
@ -626,13 +626,13 @@ e_bindings_wheel_add(E_Binding_Context ctxt, int direction, int z, E_Binding_Mod
bind->any_mod = any_mod;
if (action) bind->action = eina_stringshare_add(action);
if (params) bind->params = eina_stringshare_add(params);
wheel_bindings = evas_list_append(wheel_bindings, bind);
wheel_bindings = eina_list_append(wheel_bindings, bind);
}
EAPI void
e_bindings_wheel_del(E_Binding_Context ctxt, int direction, int z, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
Evas_List *l;
Eina_List *l;
for (l = wheel_bindings; l; l = l->next)
{
@ -650,7 +650,7 @@ e_bindings_wheel_del(E_Binding_Context ctxt, int direction, int z, E_Binding_Mod
((!bind->params) && (!params))))
{
_e_bindings_wheel_free(bind);
wheel_bindings = evas_list_remove_list(wheel_bindings, l);
wheel_bindings = eina_list_remove_list(wheel_bindings, l);
break;
}
}
@ -659,7 +659,7 @@ e_bindings_wheel_del(E_Binding_Context ctxt, int direction, int z, E_Binding_Mod
EAPI void
e_bindings_wheel_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
Eina_List *l;
for (l = wheel_bindings; l; l = l->next)
{
@ -698,7 +698,7 @@ e_bindings_wheel_grab(E_Binding_Context ctxt, Ecore_X_Window win)
EAPI void
e_bindings_wheel_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
Eina_List *l;
for (l = wheel_bindings; l; l = l->next)
{
@ -736,7 +736,7 @@ EAPI E_Action *
e_bindings_wheel_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Wheel *ev, E_Binding_Wheel **bind_ret)
{
E_Binding_Modifier mod = 0;
Evas_List *l;
Eina_List *l;
if (ev->modifiers & ECORE_X_MODIFIER_SHIFT) mod |= E_BINDING_MODIFIER_SHIFT;
if (ev->modifiers & ECORE_X_MODIFIER_CTRL) mod |= E_BINDING_MODIFIER_CTRL;

@ -104,8 +104,8 @@ static void _e_border_pointer_move_end(E_Border *bd);
static void _e_border_hook_call(E_Border_Hook_Point hookpoint, E_Border *bd);
/* local subsystem globals */
static Evas_List *handlers = NULL;
static Evas_List *borders = NULL;
static Eina_List *handlers = NULL;
static Eina_List *borders = NULL;
static Evas_Hash *borders_hash = NULL;
static E_Border *focused = NULL;
@ -114,8 +114,8 @@ static E_Border *move = NULL;
static int grabbed = 0;
static Evas_List *focus_stack = NULL;
static Evas_List *raise_stack = NULL;
static Eina_List *focus_stack = NULL;
static Eina_List *raise_stack = NULL;
static Ecore_X_Screen_Size screen_size = { -1, -1 };
@ -159,33 +159,33 @@ ecore_x_window_pixel_gravity_set(bd->bg_subwin, grav);
EAPI int
e_border_init(void)
{
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHOW_REQUEST, _e_border_cb_window_show_request, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_DESTROY, _e_border_cb_window_destroy, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_HIDE, _e_border_cb_window_hide, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_REPARENT, _e_border_cb_window_reparent, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST, _e_border_cb_window_configure_request, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_RESIZE_REQUEST, _e_border_cb_window_resize_request, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_GRAVITY, _e_border_cb_window_gravity, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_STACK_REQUEST, _e_border_cb_window_stack_request, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_PROPERTY, _e_border_cb_window_property, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_COLORMAP, _e_border_cb_window_colormap, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHAPE, _e_border_cb_window_shape, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_FOCUS_IN, _e_border_cb_window_focus_in, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_FOCUS_OUT, _e_border_cb_window_focus_out, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_CLIENT_MESSAGE, _e_border_cb_client_message, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_STATE_REQUEST, _e_border_cb_window_state_request, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST, _e_border_cb_window_move_resize_request, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_DESKTOP_CHANGE, _e_border_cb_desktop_change, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_SYNC_ALARM, _e_border_cb_sync_alarm, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHOW_REQUEST, _e_border_cb_window_show_request, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_DESTROY, _e_border_cb_window_destroy, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_HIDE, _e_border_cb_window_hide, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_REPARENT, _e_border_cb_window_reparent, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST, _e_border_cb_window_configure_request, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_RESIZE_REQUEST, _e_border_cb_window_resize_request, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_GRAVITY, _e_border_cb_window_gravity, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_STACK_REQUEST, _e_border_cb_window_stack_request, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_PROPERTY, _e_border_cb_window_property, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_COLORMAP, _e_border_cb_window_colormap, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHAPE, _e_border_cb_window_shape, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_FOCUS_IN, _e_border_cb_window_focus_in, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_FOCUS_OUT, _e_border_cb_window_focus_out, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_CLIENT_MESSAGE, _e_border_cb_client_message, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_STATE_REQUEST, _e_border_cb_window_state_request, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST, _e_border_cb_window_move_resize_request, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_DESKTOP_CHANGE, _e_border_cb_desktop_change, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_SYNC_ALARM, _e_border_cb_sync_alarm, NULL));
ecore_x_passive_grab_replay_func_set(_e_border_cb_grab_replay, NULL);
handlers = evas_list_append(handlers, ecore_event_handler_add(E_EVENT_POINTER_WARP, _e_border_cb_pointer_warp, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(E_EVENT_POINTER_WARP, _e_border_cb_pointer_warp, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(EFREET_EVENT_DESKTOP_LIST_CHANGE, _e_border_cb_efreet_desktop_list_change, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(EFREET_EVENT_DESKTOP_CHANGE, _e_border_cb_efreet_desktop_change, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(EFREET_EVENT_DESKTOP_LIST_CHANGE, _e_border_cb_efreet_desktop_list_change, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(EFREET_EVENT_DESKTOP_CHANGE, _e_border_cb_efreet_desktop_change, NULL));
handlers = evas_list_append(handlers, ecore_event_handler_add(E_EVENT_CONFIG_ICON_THEME, _e_border_cb_config_icon_theme, NULL));
handlers = eina_list_append(handlers, ecore_event_handler_add(E_EVENT_CONFIG_ICON_THEME, _e_border_cb_config_icon_theme, NULL));
E_EVENT_BORDER_ADD = ecore_event_type_new();
E_EVENT_BORDER_REMOVE = ecore_event_type_new();
@ -274,12 +274,12 @@ e_border_new(E_Container *con, Ecore_X_Window win, int first_map, int internal)
free(bd);
return NULL;
}
bd->handlers = evas_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_IN, _e_border_cb_mouse_in, bd));
bd->handlers = evas_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_OUT, _e_border_cb_mouse_out, bd));
bd->handlers = evas_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_BUTTON_DOWN, _e_border_cb_mouse_down, bd));
bd->handlers = evas_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_BUTTON_UP, _e_border_cb_mouse_up, bd));
bd->handlers = evas_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_MOVE, _e_border_cb_mouse_move, bd));
bd->handlers = evas_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_WHEEL, _e_border_cb_mouse_wheel, bd));
bd->handlers = eina_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_IN, _e_border_cb_mouse_in, bd));
bd->handlers = eina_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_OUT, _e_border_cb_mouse_out, bd));
bd->handlers = eina_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_BUTTON_DOWN, _e_border_cb_mouse_down, bd));
bd->handlers = eina_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_BUTTON_UP, _e_border_cb_mouse_up, bd));
bd->handlers = eina_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_MOVE, _e_border_cb_mouse_move, bd));
bd->handlers = eina_list_append(bd->handlers, ecore_event_handler_add(ECORE_X_EVENT_MOUSE_WHEEL, _e_border_cb_mouse_wheel, bd));
bd->client.win = win;
@ -483,7 +483,7 @@ e_border_new(E_Container *con, Ecore_X_Window win, int first_map, int internal)
bd->zone = e_zone_current_get(con);
bd->desk = e_desk_current_get(bd->zone);
e_container_border_add(bd);
borders = evas_list_append(borders, bd);
borders = eina_list_append(borders, bd);
bd2 = evas_hash_find(borders_hash, e_util_winid_str_get(bd->client.win));
if (bd2)
{
@ -509,7 +509,7 @@ e_border_new(E_Container *con, Ecore_X_Window win, int first_map, int internal)
desk[1] = desky;
ecore_x_window_prop_card32_set(win, E_ATOM_DESK, desk, 2);
focus_stack = evas_list_append(focus_stack, bd);
focus_stack = eina_list_append(focus_stack, bd);
bd->pointer = e_pointer_window_new(bd->win, 0);
return bd;
@ -690,7 +690,7 @@ e_border_desk_set(E_Border *bd, E_Desk *desk)
if (e_config->transient.desktop)
{
Evas_List *l;
Eina_List *l;
for (l = bd->transients; l; l = l->next)
{
E_Border *child;
@ -815,7 +815,7 @@ e_border_move(E_Border *bd, int x, int y)
pnd->move = 1;
pnd->x = x;
pnd->y = y;
bd->pending_move_resize = evas_list_append(bd->pending_move_resize, pnd);
bd->pending_move_resize = eina_list_append(bd->pending_move_resize, pnd);
return;
}
if ((x == bd->x) && (y == bd->y)) return;
@ -893,7 +893,7 @@ e_border_resize(E_Border *bd, int w, int h)
pnd->resize = 1;
pnd->w = w - (bd->client_inset.l + bd->client_inset.r);
pnd->h = h - (bd->client_inset.t + bd->client_inset.b);
bd->pending_move_resize = evas_list_append(bd->pending_move_resize, pnd);
bd->pending_move_resize = eina_list_append(bd->pending_move_resize, pnd);
return;
}
if ((w == bd->w) && (h == bd->h)) return;
@ -957,7 +957,7 @@ e_border_move_resize(E_Border *bd, int x, int y, int w, int h)
pnd->y = y;
pnd->w = w - (bd->client_inset.l + bd->client_inset.r);
pnd->h = h - (bd->client_inset.t + bd->client_inset.b);
bd->pending_move_resize = evas_list_append(bd->pending_move_resize, pnd);
bd->pending_move_resize = eina_list_append(bd->pending_move_resize, pnd);
return;
}
if ((x == bd->x) && (y == bd->y) && (w == bd->w) && (h == bd->h)) return;
@ -1021,7 +1021,7 @@ e_border_layer_set(E_Border *bd, int layer)
bd->layer = layer;
if (e_config->transient.layer)
{
Evas_List *l;
Eina_List *l;
/* We need to set raise to one, else the child wont
* follow to the new layer. It should be like this,
@ -1046,7 +1046,7 @@ e_border_raise(E_Border *bd)
{
E_Event_Border_Stack *ev;
E_Border *last = NULL;
Evas_List *l;
Eina_List *l;
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
@ -1055,7 +1055,7 @@ e_border_raise(E_Border *bd)
if (e_config->transient.raise)
{
for (l = evas_list_last(bd->transients); l; l = l->prev)
for (l = eina_list_last(bd->transients); l; l = l->prev)
{
E_Border *child;
@ -1136,7 +1136,7 @@ e_border_lower(E_Border *bd)
{
E_Event_Border_Stack *ev;
E_Border *last = NULL;
Evas_List *l;
Eina_List *l;
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
@ -1145,7 +1145,7 @@ e_border_lower(E_Border *bd)
if (e_config->transient.lower)
{
for (l = evas_list_last(bd->transients); l; l = l->prev)
for (l = eina_list_last(bd->transients); l; l = l->prev)
{
E_Border *child;
@ -1226,7 +1226,7 @@ e_border_stack_above(E_Border *bd, E_Border *above)
/* TODO: Should stack above allow the border to change level */
E_Event_Border_Stack *ev;
E_Border *last = NULL;
Evas_List *l;
Eina_List *l;
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
@ -1235,7 +1235,7 @@ e_border_stack_above(E_Border *bd, E_Border *above)
if (e_config->transient.raise)
{
for (l = evas_list_last(bd->transients); l; l = l->prev)
for (l = eina_list_last(bd->transients); l; l = l->prev)
{
E_Border *child;
@ -1284,7 +1284,7 @@ e_border_stack_below(E_Border *bd, E_Border *below)
/* TODO: Should stack below allow the border to change level */
E_Event_Border_Stack *ev;
E_Border *last = NULL;
Evas_List *l;
Eina_List *l;
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
@ -1293,7 +1293,7 @@ e_border_stack_below(E_Border *bd, E_Border *below)
if (e_config->transient.lower)
{
for (l = evas_list_last(bd->transients); l; l = l->prev)
for (l = eina_list_last(bd->transients); l; l = l->prev)
{
E_Border *child;
@ -1339,15 +1339,15 @@ e_border_stack_below(E_Border *bd, E_Border *below)
EAPI void
e_border_focus_latest_set(E_Border *bd)
{
focus_stack = evas_list_remove(focus_stack, bd);
focus_stack = evas_list_prepend(focus_stack, bd);
focus_stack = eina_list_remove(focus_stack, bd);
focus_stack = eina_list_prepend(focus_stack, bd);
}
EAPI void
e_border_raise_latest_set(E_Border *bd)
{
raise_stack = evas_list_remove(raise_stack, bd);
raise_stack = evas_list_prepend(raise_stack, bd);
raise_stack = eina_list_remove(raise_stack, bd);
raise_stack = eina_list_prepend(raise_stack, bd);
}
/*
@ -2148,7 +2148,7 @@ e_border_fullscreen(E_Border *bd, E_Fullscreen policy)
if (!e_config->allow_above_fullscreen)
e_border_layer_set(bd, 200);
if ((evas_list_count(bd->zone->container->zones) > 1) || (policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
if ((eina_list_count(bd->zone->container->zones) > 1) || (policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
{
e_border_move_resize(bd, bd->zone->x, bd->zone->y, bd->zone->w, bd->zone->h);
}
@ -2268,7 +2268,7 @@ e_border_iconify(E_Border *bd)
if (e_config->transient.iconify)
{
Evas_List *l;
Eina_List *l;
for (l = bd->transients; l; l = l->next)
{
@ -2313,7 +2313,7 @@ e_border_uniconify(E_Border *bd)
if (e_config->transient.iconify)
{
Evas_List *l;
Eina_List *l;
for (l = bd->transients; l; l = l->next)
{
@ -2341,7 +2341,7 @@ e_border_stick(E_Border *bd)
if (e_config->transient.desktop)
{
Evas_List *l;
Eina_List *l;
for (l = bd->transients; l; l = l->next)
{
E_Border *child;
@ -2377,7 +2377,7 @@ e_border_unstick(E_Border *bd)
if (e_config->transient.desktop)
{
Evas_List *l;
Eina_List *l;
for (l = bd->transients; l; l = l->next)
{
E_Border *child;
@ -2479,7 +2479,7 @@ e_border_find_by_window(Ecore_X_Window win)
EAPI E_Border *
e_border_find_by_alarm(Ecore_X_Sync_Alarm alarm)
{
Evas_List *l;
Eina_List *l;
for (l = borders; l; l = l->next)
{
@ -2502,7 +2502,7 @@ e_border_focused_get(void)
EAPI void
e_border_idler_before(void)
{
Evas_List *ml, *cl;
Eina_List *ml, *cl;
if (!borders)
return;
@ -2594,7 +2594,7 @@ e_border_idler_before(void)
}
}
EAPI Evas_List *
EAPI Eina_List *
e_border_client_list()
{
/* FIXME: This should be a somewhat ordered list */
@ -3157,7 +3157,7 @@ e_border_icon_add(E_Border *bd, Evas *evas)
EAPI void
e_border_button_bindings_ungrab_all(void)
{
Evas_List *l;
Eina_List *l;
for (l = borders; l; l = l->next)
{
@ -3173,7 +3173,7 @@ e_border_button_bindings_ungrab_all(void)
EAPI void
e_border_button_bindings_grab_all(void)
{
Evas_List *l;
Eina_List *l;
for (l = borders; l; l = l->next)
{
@ -3186,22 +3186,22 @@ e_border_button_bindings_grab_all(void)
}
}
EAPI Evas_List *
EAPI Eina_List *
e_border_focus_stack_get(void)
{
return focus_stack;
}
EAPI Evas_List *
EAPI Eina_List *
e_border_raise_stack_get(void)
{
return raise_stack;
}
EAPI Evas_List *
EAPI Eina_List *
e_border_lost_windows_get(E_Zone *zone)
{
Evas_List *list = NULL, *l;
Eina_List *list = NULL, *l;
int loss_overlap = 5;
E_OBJECT_CHECK_RETURN(zone, NULL);
@ -3222,7 +3222,7 @@ e_border_lost_windows_get(E_Zone *zone)
bd->zone->h - (2 * loss_overlap),
bd->x, bd->y, bd->w, bd->h))
{
list = evas_list_append(list, bd);
list = eina_list_append(list, bd);
}
else if ((!E_CONTAINS(bd->zone->x, bd->zone->y,
bd->zone->w, bd->zone->h,
@ -3253,7 +3253,7 @@ e_border_lost_windows_get(E_Zone *zone)
}
free(rect);
if (!ok)
list = evas_list_append(list, bd);
list = eina_list_append(list, bd);
}
}
}
@ -3338,10 +3338,10 @@ e_border_frame_recalc(E_Border *bd)
bd->client.h);
}
EAPI Evas_List *
EAPI Eina_List *
e_border_immortal_windows_get(void)
{
Evas_List *list = NULL, *l;
Eina_List *list = NULL, *l;
for (l = borders; l; l = l->next)
{
@ -3349,7 +3349,7 @@ e_border_immortal_windows_get(void)
bd = l->data;
if (bd->lock_life)
list = evas_list_append(list, bd);
list = eina_list_append(list, bd);
}
return list;
}
@ -3606,7 +3606,7 @@ _e_border_free(E_Border *bd)
while (bd->pending_move_resize)
{