layout: fix "elm,state,text,hidden" signal never be emitted
authorJinYong Park <j4939.park@samsung.com>
Fri, 4 Aug 2017 06:33:27 +0000 (15:33 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 4 Aug 2017 06:33:27 +0000 (15:33 +0900)
commitf2082c0412a5e1df6b1a53e209125e7fe37dccf8
treeb3c6d97ac2ec9f84e4ff81a7dd5a184dd3f5f396
parent63f0dcc5fcf6433a745e3f457fc692f641dda534
layout: fix "elm,state,text,hidden" signal never be emitted

Summary:
 In _elm_layout_text_set function, text_signal_emit is called.
 But in that case, check text whether it is null or not null before call signal_emit.
 So "text" is not null always, and text_signal_emit's parameter "visible" is also always EINA_TRUE.

Reviewers: Jaehyun_Cho, cedric, jpeg

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5049
src/lib/elementary/elm_layout.c