aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_powersave.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-06-24 16:19:12 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-06-24 16:19:12 +0000
commitc6a118d73815638b2be8f18d0ca7fc4167728cd8 (patch)
tree089211fe84ad101eaae3d990c2f2f1e6a7d4ecee /src/bin/e_powersave.c
parentupdating french translation (diff)
downloadenlightenment-c6a118d73815638b2be8f18d0ca7fc4167728cd8.tar.gz
* e: remove warning due to Ecore API change.
SVN revision: 49833
Diffstat (limited to 'src/bin/e_powersave.c')
-rw-r--r--src/bin/e_powersave.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/e_powersave.c b/src/bin/e_powersave.c
index 4a77777ac..84b3761e1 100644
--- a/src/bin/e_powersave.c
+++ b/src/bin/e_powersave.c
@@ -11,7 +11,7 @@ struct _E_Powersave_Deferred_Action
};
/* local subsystem functions */
-static int _e_powersave_cb_deferred_timer(void *data);
+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);
@@ -131,7 +131,7 @@ e_powersave_mode_get(void)
/* local subsystem functions */
-static int
+static Eina_Bool
_e_powersave_cb_deferred_timer(void *data)
{
E_Powersave_Deferred_Action *pa;
@@ -144,7 +144,7 @@ _e_powersave_cb_deferred_timer(void *data)
}
walking_deferred_actions--;
if (!deferred_actions) deferred_timer = NULL;
- return 0;
+ return ECORE_CALLBACK_CANCEL;
}
static void