summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-11-22 17:40:40 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-11-22 17:41:03 +0900
commit60773cdf293abad562bd4d26731f40d1840750de (patch)
treef47f8cc7892a53184c3f817851854a5077e24221
parentdb83bd15134b1dfa6402063a62605202e4ed7ce4 (diff)
downloadelementary-60773cdf293abad562bd4d26731f40d1840750de.tar.gz
elementary/mapbuf - set NULL if the content is empty.
-rw-r--r--src/lib/elm_mapbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_mapbuf.c b/src/lib/elm_mapbuf.c
index f6561b7f4..59c846022 100644
--- a/src/lib/elm_mapbuf.c
+++ b/src/lib/elm_mapbuf.c
@@ -259,6 +259,7 @@ _elm_mapbuf_smart_content_unset(Eo *obj, void *_pd, va_list *list)
evas_object_smart_member_del(content);
evas_object_data_del(content, "_elm_leaveme");
evas_object_color_set(wd->resize_obj, 0, 0, 0, 0);
+ sd->content = NULL;
if (ret) *ret = content;
ELM_SAFE_FREE(sd->idler, ecore_idler_del);
}