Revert "elementary/ctxpopup - but there would be no parent NULL case."

There is a case that parent can be NULL when you call
elm_ctxpopup_add().

This reverts commit 8bc665a6ebc9daf0d5faa46223635f46f3d0f682.

SVN revision: 71305
This commit is contained in:
Daniel Juyung Seo 2012-05-22 08:08:16 +00:00
parent 6c1ee5405a
commit 1f70eb1107
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ static void
_parent_cut_off(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
if (!wd || !wd->parent) return;
evas_object_event_callback_del_full(wd->parent,
EVAS_CALLBACK_DEL,