From 064c3417fbfde8f69f8157f6ff46d5161ed84953 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Fri, 13 Nov 2009 18:54:55 +0000 Subject: [PATCH] elm_box: fix move to evas_object_box and avoid double-deletion. We must clear the box before, otherwise on delete it will automatically delete all existing children, which would be deleted right after with sub-objects. SVN revision: 43675 --- src/lib/elm_box.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elm_box.c b/src/lib/elm_box.c index 134aa5c..796e8dc 100644 --- a/src/lib/elm_box.c +++ b/src/lib/elm_box.c @@ -43,6 +43,7 @@ static void _del_hook(Evas_Object *obj) { Widget_Data *wd = elm_widget_data_get(obj); + evas_object_box_remove_all(wd->box, 0); evas_object_del(wd->box); free(wd); } -- 2.7.4