summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-08-30 21:34:14 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-08-30 21:39:35 +0200
commitb6648b748bdef45293bc220cc84c21c9d60d36c1 (patch)
tree4a7f9120d2620ad95176e8b1d9128c0d9be1735c /src/examples/elementary
parent333a0709152241f08771a95cc5315afef74b5f3e (diff)
cxx: Fix example after popup changes.
Summary: Popup api changed in 1ca07b72da944 Reviewers: zmike, felipealmeida, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9807
Diffstat (limited to 'src/examples/elementary')
-rw-r--r--src/examples/elementary/popup_cxx_example.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/popup_cxx_example.cc b/src/examples/elementary/popup_cxx_example.cc
index 4d670eb..08c2e2f 100644
--- a/src/examples/elementary/popup_cxx_example.cc
+++ b/src/examples/elementary/popup_cxx_example.cc
@@ -227,7 +227,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
227 auto timeout_set_cb(std::bind([]() { 227 auto timeout_set_cb(std::bind([]() {
228 if (!g_popup) return; 228 if (!g_popup) return;
229 229
230 g_popup.timeout_set(3); 230 g_popup.closing_timeout_set(3);
231 std::cout << "Timeout is set to 3 seconds" << std::endl; 231 std::cout << "Timeout is set to 3 seconds" << std::endl;
232 })); 232 }));
233 efl::eolian::event_add(efl::input::Clickable::clicked_event, timeout_btn, timeout_set_cb); 233 efl::eolian::event_add(efl::input::Clickable::clicked_event, timeout_btn, timeout_set_cb);