cxx: Fix example after popup changes.
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Fri, 30 Aug 2019 19:34:14 +0000 (21:34 +0200)
committerYeongjong Lee <yj34.lee@samsung.com>
Mon, 16 Sep 2019 01:23:00 +0000 (10:23 +0900)
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

src/examples/elementary/popup_cxx_example.cc

index 4d670eb..08c2e2f 100644 (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);