From 424cb3e8007e86366aabf716265676184256a0be Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Fri, 8 Oct 2010 21:28:07 +0900 Subject: [PATCH] [svn 51773]elm_mapbuf.c --- src/lib/elm_mapbuf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_mapbuf.c b/src/lib/elm_mapbuf.c index 7e46d83..6b6e34f 100644 --- a/src/lib/elm_mapbuf.c +++ b/src/lib/elm_mapbuf.c @@ -198,7 +198,9 @@ elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) { elm_widget_sub_object_add(content, obj); evas_object_smart_member_add(content, obj); - evas_object_event_callback_add(content, EVAS_CALLBACK_CHANGED_SIZE_HINTS, + evas_object_clip_set(content, evas_object_clip_get(obj)); + evas_object_event_callback_add(content, + EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints, obj); } _sizing_eval(obj); @@ -226,6 +228,7 @@ elm_mapbuf_content_unset(Evas_Object *obj) content = wd->content; elm_widget_sub_object_del(obj, wd->content); evas_object_smart_member_del(wd->content); + evas_object_clip_unset(wd->content); wd->content = NULL; return content; } -- 2.7.4