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:
parent
6c1ee5405a
commit
1f70eb1107
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue