xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b6648b748bdef45293bc220cc84c21c9d60d36c1

commit b6648b748bdef45293bc220cc84c21c9d60d36c1
Author: Lauro Moura <[email protected]>
Date:   Fri Aug 30 21:34:14 2019 +0200

    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
---
 src/examples/elementary/popup_cxx_example.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/examples/elementary/popup_cxx_example.cc 
b/src/examples/elementary/popup_cxx_example.cc
index 4d670ebce3..08c2e2fc9e 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)
    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);

-- 


Reply via email to