els_tooltip: Fix to use some functions before tooltip_test_set or tooltip_content_cb_set 01/151101/1
authorJeonghyun Yun <jh0506.yun@samsung.com>
Wed, 20 Sep 2017 01:02:56 +0000 (10:02 +0900)
committerJeonghyun Yun <jh0506.yun@samsung.com>
Wed, 20 Sep 2017 01:03:57 +0000 (10:03 +0900)
commitfaaf7a914e83c1a92b746fd3d2a03e66c581f57a
treefe64cd17a7f15500efc444a7b6692c63c3fc18dc
parentdc1f800e163fef9e234a578a2e2f53948081d27f
els_tooltip: Fix to use some functions before tooltip_test_set or tooltip_content_cb_set

Summary:
If user call tooltip_orient_set or tooltip_style_set or tooltip_window_mode_set
before tooltip_test_set or tooltip_content_cb_set, those functions doesn't work.
Because elm_tooltip will be created when tooltip_content_cb_set is called.
I fixed logic to use some functions before tooltip_test_set or tooltip_content_cb_set.

Test Plan: elementary_test -> Popups -> Tooltip

Reviewers: jpeg, Jaehyun

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5183

Change-Id: Ia058679cd1645a12e048d8c5b0db0566f2742fca
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
src/bin/test_tooltip.c
src/lib/els_tooltip.c