notify: block_events restore previous style when style set failed
authorJinYong Park <j4939.park@samsung.com>
Thu, 1 Dec 2016 01:48:15 +0000 (10:48 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 05:37:04 +0000 (14:37 +0900)
commit15e3fd2cde68c758aa2e43591fa9b719d69232ff
tree6805a98c8d27e8e5f7c6e8340145fab63a6b391d
parenta9b351e4d1d0ea2fded2842fb828f4d593cc881c
notify: block_events restore previous style when style set failed

when call style_set to notify object, notify subobject try to elm_widget_theme.
But in that function, block_events try to check theme with previous style.

So, after try to wrong style set,
style set fuction don't return ELM_THEME_APPLY_SUCCESS with normal style
because block_events try to check previous wrong theme.

Change-Id: I262fcce721f59cc34c7fcfdf0ef452191c1cb88b
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
src/lib/elm_notify.c