Page MenuHomePhabricator

elm parenting fails
Closed, ResolvedPublic


ERR<elementary>lib/elementary/elm_widget.c:1374 You passed a wrong parent parameter (0x800000028de3015b (null)). Elementary widget's parent should be an elementary widget

from adding an elm_icon with an elm_button as the parent in enlightenment/src/modules/pager/gadget/config.c:190

zmike created this task.Aug 28 2017, 10:15 AM
jpeg reassigned this task from jpeg to zmike.Sep 12 2017, 1:46 AM
jpeg added a subscriber: jpeg.

The code is

ic = elm_icon_add(evas_object_evas_get(button));

Where evas_object_evas_get(button) is an Evas not a widget.

zmike added a comment.Sep 12 2017, 6:41 AM

Oh. Right. Of course.

zmike reassigned this task from zmike to stephenmhouston.Sep 12 2017, 6:41 AM