popup: remove previous object when setting new content
authorJinYong Park <j4939.park@samsung.com>
Wed, 31 May 2017 04:12:59 +0000 (13:12 +0900)
committerJeeyong Um <conr2d@gmail.com>
Wed, 31 May 2017 04:21:08 +0000 (13:21 +0900)
commit2086530d0798e44aec163edec894e96bb90675e7
treed07905af237c3e471678fdeda562d7fe82226b66
parent665856027d85802a29ede6f005674a8294df60fe
popup: remove previous object when setting new content

Summary:
Other widgets remove previous object when setting new content, but popup does
nothing for the part whose name is "default".
content_unset can be used to keep previous content object, so content_set
(especially with NULL) should be able to delete previous content object
for uniformity of the entire widgets.

@fix

Reviewers: jpeg, singh.amitesh, cedric, raster, conr2d

Reviewed By: conr2d

Subscribers: minkyu, herb

Differential Revision: https://phab.enlightenment.org/D4885
src/lib/elementary/elc_popup.c