projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1085525
)
elm_box: fix move to evas_object_box and avoid double-deletion.
author
Gustavo Sverzut Barbieri
<barbieri@gmail.com>
Fri, 13 Nov 2009 18:54:55 +0000
(18:54 +0000)
committer
Gustavo Sverzut Barbieri
<barbieri@gmail.com>
Fri, 13 Nov 2009 18:54:55 +0000
(18:54 +0000)
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
patch
|
blob
|
history
diff --git
a/src/lib/elm_box.c
b/src/lib/elm_box.c
index
134aa5c
..
796e8dc
100644
(file)
--- 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);
}