diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2018-12-07 13:22:31 +0100 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2018-12-07 13:32:12 +0100 |
commit | 2bc28da2e3545b78ea684962c606c80e1cf08768 (patch) | |
tree | 4c608227e45a29c357f288d802916ea4cc87a17b | |
parent | 524c05d82562bcbbf9ab6291a5dd59eff776b4b3 (diff) |
eo: fix efl_future_then example.
Summary: Depends on D7393
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7472
Differential Revision: https://phab.enlightenment.org/D7423
-rw-r--r-- | src/lib/eo/Eo.h | 2 |
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 { | |||
522 | * //Usually this would be done with an eina_future_race() of the download promise and a timeout promise, | 522 | * //Usually this would be done with an eina_future_race() of the download promise and a timeout promise, |
523 | * //however the following example is useful to illustrate efl_key_data_set() usage. | 523 | * //however the following example is useful to illustrate efl_key_data_set() usage. |
524 | * efl_key_data_set(downloader, "timer", timer); | 524 | * efl_key_data_set(downloader, "timer", timer); |
525 | * eina_future_then_from_desc(f, efl_future_cb(.success = _file_ok, .error = _file_err, .success_type = EINA_VALUE_TYPE_STRING, .free = downloader_free)); | 525 | * efl_future_then(downloader, f, .success = _file_ok, .error = _file_err, .success_type = EINA_VALUE_TYPE_STRING, .free = downloader_free); |
526 | * } | 526 | * } |
527 | * @endcode | 527 | * @endcode |
528 | * | 528 | * |