zmike pushed a commit to branch master.

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

commit 83b8862bc43c33c323c10aedfe46258698aab836
Author: Marcel Hollerbach <[email protected]>
Date:   Wed Jan 23 14:55:17 2019 -0500

    efl_ui_focus_object: provide empty on_focus_update function.
    
    Summary:
    there is no point in forcing users of this to implement on_focus_update.
    
    ref T7652
    
    Depends on D7733
    
    Reviewers: cedric, zmike, stefan_schmidt
    
    Reviewed By: zmike
    
    Subscribers: #reviewers, #committers
    
    Tags: #efl
    
    Maniphest Tasks: T7652
    
    Differential Revision: https://phab.enlightenment.org/D7734
---
 src/lib/elementary/efl_ui_focus_object.eo | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_focus_object.eo 
b/src/lib/elementary/efl_ui_focus_object.eo
index 0058be0d11..1ac6e0fd36 100644
--- a/src/lib/elementary/efl_ui_focus_object.eo
+++ b/src/lib/elementary/efl_ui_focus_object.eo
@@ -70,7 +70,7 @@ mixin Efl.Ui.Focus.Object
         prepare_logical_none_recursive @protected {
             [[]]
         }
-        on_focus_update @protected @pure_virtual {
+        on_focus_update @protected {
            [[Virtual function handling focus in/out events on the widget]]
            return: bool; [[$true if this widget can handle focus, $false 
otherwise]]
         }
@@ -80,6 +80,7 @@ mixin Efl.Ui.Focus.Object
         @empty .prepare_logical_none_recursive;
         @empty .focus_manager;
         @empty .focus_parent;
+        @empty .on_focus_update;
     }
     events {
         focus,changed : bool; [[Emitted if the focus state has changed]]

-- 


Reply via email to