aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-11-15 20:29:17 +0100
committerBoris Faure <billiob@gmail.com>2016-11-15 20:29:17 +0100
commit55db8930b2d9220cf96c4a7997a5dc1c09d96c72 (patch)
tree02fd893368f716db304b06c3dab964db6bd3878e
parenttermiolink: add missing break (diff)
downloadterminology-55db8930b2d9220cf96c4a7997a5dc1c09d96c72.tar.gz
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.
-rw-r--r--src/bin/termio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 145655b..a673971 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -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");