efl_ui_widget: move from elm_widget_top_get to provider_find
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Tue, 26 Mar 2019 09:15:15 +0000 (10:15 +0100)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:24:22 +0000 (13:24 +0900)
commite2b518ecc149110d3edffbe7fbc9fc9f2207dc4a
tree6818328dd1210fa623e670940becc9a19a578320
parentf7dcacb5e9187106c92d1c05a0e0731618eed11c
efl_ui_widget: move from elm_widget_top_get to provider_find

this resolves a lot of cases where focus_highlight API was called on a
object, which is not a efl_ui_win object. With this patch we ensure that
the object is always a window.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8476
src/lib/elementary/efl_ui_widget.c
src/lib/elementary/elm_gengrid.c
src/lib/elementary/elm_genlist.c