bu5hm4n pushed a commit to branch master.

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

commit e9281cf124b2b973e1a0d97eef1c3d85ee684903
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Nov 26 10:48:42 2019 -0500

    efl_ui/layout: fix typo in theme,changed event checking and fix this event
    
    this was a copy/paste error
    
    ref 7ad8acc290f078aa9d2bfd32ec15a4e5677ab01f
    
    Reviewed-by: Marcel Hollerbach <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D10737
---
 src/lib/elementary/efl_ui_layout.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_layout.c 
b/src/lib/elementary/efl_ui_layout.c
index 28e99a1c84..f4e3c0579f 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2975,7 +2975,7 @@ _efl_ui_layout_base_theme_rotation_apply(Eo *obj, 
Efl_Ui_Layout_Data *pd EINA_UN
 EOLIAN static Eina_Bool
 _efl_ui_layout_base_efl_object_event_callback_priority_add(Eo *obj, 
Efl_Ui_Layout_Data *pd, const Efl_Event_Description *desc, 
Efl_Callback_Priority priority, Efl_Event_Cb func, const void *user_data)
 {
-  if (desc == EFL_CANVAS_GROUP_EVENT_MEMBER_ADDED)
+  if (desc == EFL_UI_LAYOUT_EVENT_THEME_CHANGED)
     {
        pd->cb_theme_changed = EINA_TRUE;
     }
@@ -2988,7 +2988,7 @@ 
_efl_ui_layout_base_efl_object_event_callback_array_priority_add(Eo *obj, Efl_Ui
 {
    for (int i = 0; array[i].desc; ++i)
      {
-        if (array[i].desc == EFL_CANVAS_GROUP_EVENT_MEMBER_ADDED)
+        if (array[i].desc == EFL_UI_LAYOUT_EVENT_THEME_CHANGED)
           {
              pd->cb_theme_changed = EINA_TRUE;
           }

-- 


Reply via email to