elm_menu: avoid a call to NULL
authorYeongJong Lee <yj34.lee@samsung.com>
Wed, 31 Jan 2018 13:29:12 +0000 (14:29 +0100)
committerJiyoun Park <jy0703.park@samsung.com>
Tue, 3 Apr 2018 14:54:24 +0000 (23:54 +0900)
commit9ac99612488fbbb7e9baa29cc34ec90e627ecbba
tree57001400cc428d05186e7687898ada0931efe33d
parentc7c8c0b3eb90ceb7b01eb958494c1c34cb13af22
elm_menu: avoid a call to NULL

Summary: the provider_find can be called before parent_set in constructor.

Test Plan:
1. EINA_LOG_LEVELS=eo:2 elementary_test -to menu
2. check that there is no warning message about efl_provider_find

Reviewers: jpeg, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5773
src/lib/elementary/elm_menu.c