aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-03-17 17:54:32 +0900
committerChris Michael <cp.michael@samsung.com>2013-03-26 08:53:32 +0000
commit2aaaa952d437e5e4904e86283d4c7c9c28cd0a92 (patch)
tree549233fec35c76946e74d1994da5faba7d8cba3a
parentseems tegra has gotten better so up pipe max number in gl engine. (diff)
downloadefl-2aaaa952d437e5e4904e86283d4c7c9c28cd0a92.tar.gz
Ecore.h: use ECORE_CALLBACK_RENEW/CANCEL for timer callback.
-rw-r--r--src/lib/ecore/Ecore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore/Ecore.h b/src/lib/ecore/Ecore.h
index a44fbeff9c..6a5e3e37d7 100644
--- a/src/lib/ecore/Ecore.h
+++ b/src/lib/ecore/Ecore.h
@@ -197,7 +197,7 @@
* timer_func(void *data)
* {
* printf("Tick timer. Sec: %3.2f\n", ecore_time_get() - start_time);
- * return 1;
+ * return ECORE_CALLBACK_RENEW;
* }
*
* int
@@ -1760,12 +1760,12 @@ EAPI double ecore_loop_time_get(void);
* @code
* Eina_Bool my_func(void *data) {
* do_funky_stuff_with_data(data);
- * return EINA_TRUE;
+ * return ECORE_CALLBACK_RENEW;
* }
* ecore_timer_add(interval_in_seconds, my_func, data_given_to_function);
* @endcode
* @note If the function was to be executed only once simply return
- * @c EINA_FALSE instead.
+ * @c ECORE_CALLBACK_CANCEL instead.
*
* An example that shows the usage of a lot of these:
* @li @ref ecore_timer_example_c