elementary/widget - add one exception handling where it should be.
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Mar 2011 12:04:00 +0000 (12:04 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Mar 2011 12:04:00 +0000 (12:04 +0000)
commitee9565018270f709a3e8f9d86247292cefcc4fa5
tree327a91443f19aade1a504015f7eead27e07e9768
parent641560d897125a92be4346a11cbb598b6816513a
elementary/widget - add one exception handling where it should be.

After a widget is created(obj = elm_widget_add), the object does not have any parent object.
However if user call elm_widget_sub_object_add(parent, obj), then CRI will be happened.
So the exception should be there.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@57667 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/elm_widget.c