From: woohyun Date: Thu, 29 Mar 2012 06:00:06 +0000 (+0000) Subject: elementary/conform : wd->content is set as NULL in _sub_del function, X-Git-Tag: sbs/armel/slp2-target~36^2~117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3b4b57e637201120895928add21514c9e1308b0;p=framework%2Fuifw%2Felementary.git elementary/conform : wd->content is set as NULL in _sub_del function, so can not be used anymore. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69716 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index 6159158..b88ff3e 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -171,10 +171,10 @@ _content_unset_hook(Evas_Object *obj, const char *part) if ((!wd) || (!wd->content)) return NULL; content = wd->content; elm_widget_sub_object_del(obj, wd->content); - evas_object_event_callback_del_full(wd->content, + evas_object_event_callback_del_full(content, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints, obj); - edje_object_part_unswallow(wd->base, wd->content); + edje_object_part_unswallow(wd->base, content); wd->content = NULL; return content; }