efl_ui/layout: fix typo in theme,changed event checking and fix this event

this was a copy/paste error

ref 7ad8acc290

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10737
This commit is contained in:
Mike Blumenkrantz 2019-11-26 10:48:42 -05:00 committed by Marcel Hollerbach
parent 20699d7f61
commit e9281cf124
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}