elementary: fix sub object usage.

SVN revision: 64299
This commit is contained in:
Cedric BAIL 2011-10-22 16:04:06 +00:00
parent bfa7a1c2ea
commit 94102242f6
2 changed files with 0 additions and 2 deletions

View File

@ -371,7 +371,6 @@ elm_box_add(Evas_Object *parent)
evas_object_event_callback_add(wd->box, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
_changed_size_hints, obj);
elm_widget_resize_object_set(obj, wd->box);
elm_widget_sub_object_add(obj, wd->box);
evas_object_smart_callback_add(obj, "sub-object-del", _sub_del, obj);

View File

@ -279,7 +279,6 @@ elm_video_add(Evas_Object *parent)
wd->layout = edje_object_add(e);
_elm_theme_object_set(obj, wd->layout, "video", "base", "default");
elm_widget_resize_object_set(obj, wd->layout);
elm_widget_sub_object_add(obj, wd->layout);
evas_object_show(wd->layout);
evas_object_size_hint_weight_set(wd->layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);