aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_powersave.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-10-22 11:49:33 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-10-22 11:49:33 +0000
commit1087de2397de995fd84b4c4dc87ea91389945cf2 (patch)
treeb545a9b02799d930773f2d6e485479912fe76eaa /src/bin/e_powersave.c
parentfix losing config! (diff)
downloadenlightenment-1087de2397de995fd84b4c4dc87ea91389945cf2.tar.gz
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
Diffstat (limited to 'src/bin/e_powersave.c')
-rw-r--r--src/bin/e_powersave.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/e_powersave.c b/src/bin/e_powersave.c
index 78ce201aa..be5783aed 100644
--- a/src/bin/e_powersave.c
+++ b/src/bin/e_powersave.c
@@ -16,7 +16,7 @@ static void _e_powersave_mode_eval(void);
/* local subsystem globals */
static int walking_deferred_actions = 0;
-static Evas_List *deferred_actions = NULL;
+static Eina_List *deferred_actions = NULL;
static Ecore_Timer *deferred_timer = NULL;
static E_Powersave_Mode powersave_mode_min = E_POWERSAVE_MODE_NONE;
static E_Powersave_Mode powersave_mode_max = E_POWERSAVE_MODE_EXTREME;
@@ -50,7 +50,7 @@ e_powersave_deferred_action_add(void (*func) (void *data), const void *data)
NULL);
pa->func = func;
pa->data = data;
- deferred_actions = evas_list_append(deferred_actions, pa);
+ deferred_actions = eina_list_append(deferred_actions, pa);
return pa;
}
@@ -64,7 +64,7 @@ e_powersave_deferred_action_del(E_Powersave_Deferred_Action *pa)
}
else
{
- deferred_actions = evas_list_remove(deferred_actions, pa);
+ deferred_actions = eina_list_remove(deferred_actions, pa);
free(pa);
if (!deferred_actions)
{
@@ -131,7 +131,7 @@ _e_powersave_cb_deferred_timer(void *data)
E_Powersave_Deferred_Action *pa;
pa = deferred_actions->data;
- deferred_actions = evas_list_remove_list(deferred_actions, deferred_actions);
+ deferred_actions = eina_list_remove_list(deferred_actions, deferred_actions);
if (!pa->delete_me) pa->func((void *)pa->data);
free(pa);
}