This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit f9767f41e8610f7e6e08589bee314c721674eb1d
Author: Cedric BAIL <[email protected]>
AuthorDate: Thu Nov 12 22:07:07 2026 -0600
examples: button_cxx_example_01 watches each button
wdown, wleft and wright were all built from up, a copy/paste slip, so
the b == wdown / wleft / wright branches of the arrow handlers never
matched and only the up button was ever recognised. Each wref now
watches its own button.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/examples/elementary/button_cxx_example_01.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/examples/elementary/button_cxx_example_01.cc b/src/examples/elementary/button_cxx_example_01.cc
index 880f95519d..be14a0b31b 100644
--- a/src/examples/elementary/button_cxx_example_01.cc
+++ b/src/examples/elementary/button_cxx_example_01.cc
@@ -53,9 +53,9 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
box_initial.pack_end(btn);
auto wup = up._get_wref();
- auto wdown = up._get_wref();
- auto wleft = up._get_wref();
- auto wright = up._get_wref();
+ auto wdown = down._get_wref();
+ auto wleft = left._get_wref();
+ auto wright = right._get_wref();
auto btn_options = std::bind(
[wup, wdown, wleft, wright] (efl::ui::Button &button)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.