aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eo')
-rw-r--r--src/lib/eo/Eo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index e953ac2709..ca133dfb4c 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -522,7 +522,7 @@ typedef struct _Efl_Future_Cb_Desc {
* //Usually this would be done with an eina_future_race() of the download promise and a timeout promise,
* //however the following example is useful to illustrate efl_key_data_set() usage.
* efl_key_data_set(downloader, "timer", timer);
- * eina_future_then_from_desc(f, efl_future_cb(.success = _file_ok, .error = _file_err, .success_type = EINA_VALUE_TYPE_STRING, .free = downloader_free));
+ * efl_future_then(downloader, f, .success = _file_ok, .error = _file_err, .success_type = EINA_VALUE_TYPE_STRING, .free = downloader_free);
* }
* @endcode
*