summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-11-26 10:48:42 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-04 16:47:37 +0100
commite9281cf124b2b973e1a0d97eef1c3d85ee684903 (patch)
tree81bc36a44883eeaea0350fed4c0baf1289d8a2b8
parent20699d7f616032f2ec6ccb0972eff2491fd9c538 (diff)
downloadefl-e9281cf124b2b973e1a0d97eef1c3d85ee684903.tar.gz
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 <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10737
-rw-r--r--src/lib/elementary/efl_ui_layout.c4
1 files 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;
}