cxx: Fix example after popup changes.

Summary: Popup api changed in 1ca07b72da

Reviewers: zmike, felipealmeida, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9807
This commit is contained in:
Lauro Moura 2019-08-30 21:34:14 +02:00 committed by Xavi Artigas
parent 333a070915
commit b6648b748b
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
auto timeout_set_cb(std::bind([]() {
if (!g_popup) return;
g_popup.timeout_set(3);
g_popup.closing_timeout_set(3);
std::cout << "Timeout is set to 3 seconds" << std::endl;
}));
efl::eolian::event_add(efl::input::Clickable::clicked_event, timeout_btn, timeout_set_cb);