els_tooltip: Fix to use some functions before tooltip_test_set or tooltip_content_cb_set 02/151102/2
authorJeonghyun Yun <jh0506.yun@samsung.com>
Wed, 20 Sep 2017 01:02:56 +0000 (10:02 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Thu, 21 Sep 2017 08:08:47 +0000 (08:08 +0000)
commit853ddda5cc5b53cb8a44ff50a846943d1df97ad8
tree389c3ce72688b532b46e71fcd61f90226fe89d15
parent92d9d89b7d53dd965f6460d95a59fc63476c6fa5
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