termio: elm_layout_add() expects and elm widget
This should remove the noisy message: ERR<21781>:elementary lib/elementary/elm_widget.c:1130 elm_widget_sub_object_parent_add() You passed a wrong parent parameter (0x400000089000008a termio). Elementary widget's parent should be an elementary widget.
This commit is contained in:
parent
234fe507f4
commit
55db8930b2
|
@ -1175,7 +1175,7 @@ _update_link(Evas_Object *obj, Termio *sd,
|
|||
}
|
||||
for (y = sd->link.y1; y <= sd->link.y2; y++)
|
||||
{
|
||||
o = elm_layout_add(obj);
|
||||
o = elm_layout_add(sd->win);
|
||||
evas_object_smart_member_add(o, obj);
|
||||
theme_apply(elm_layout_edje_get(o), sd->config, "terminology/link");
|
||||
|
||||
|
|
Loading…
Reference in New Issue