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: 1.0.0+svn.69691slp2+build01~7^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f82f6f8396f16e05301186ec2b2b7e0e8f3e571;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; }