summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-07-11 15:10:41 -0700
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-17 21:57:54 +0200
commit0b949d0e7a092bf8e66f77832778b0be48a0fcfc (patch)
tree280c7e21b3cabe2a54ae577f1e7735ca39227841
parent9e6d3b44e62c341bda6a7f226b589673fcc9cc98 (diff)
elementary: first search on ourself instead of our parent for all providers.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9293
-rw-r--r--src/lib/elementary/efl_ui_widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index 95522038f8..7560fe3151 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -5043,8 +5043,8 @@ _efl_ui_widget_efl_object_provider_find(const Eo *obj, Elm_Widget_Smart_Data *pd
5043 if (pd->provider_lookup) return NULL; 5043 if (pd->provider_lookup) return NULL;
5044 pd->provider_lookup = EINA_TRUE; 5044 pd->provider_lookup = EINA_TRUE;
5045 5045
5046 if (pd->parent_obj) lookup = efl_provider_find(pd->parent_obj, klass); 5046 lookup = efl_provider_find(efl_super(obj, MY_CLASS), klass);
5047 if (!lookup) lookup = efl_provider_find(efl_super(obj, MY_CLASS), klass); 5047 if (!lookup && pd->parent_obj) lookup = efl_provider_find(pd->parent_obj, klass);
5048 5048
5049 pd->provider_lookup = EINA_FALSE; 5049 pd->provider_lookup = EINA_FALSE;
5050 5050