summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-10-22 16:04:06 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-10-22 16:04:06 +0000
commit94102242f6ddf666bcb941e6a3740e97a6c28fe1 (patch)
treeb3a16137f92a6775c11a9d90252c753e91cec491 /legacy
parentbfa7a1c2ea8c9264c01cee25b126247f19422416 (diff)
elementary: fix sub object usage.
SVN revision: 64299
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_box.c1
-rw-r--r--legacy/elementary/src/lib/elm_video.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_box.c b/legacy/elementary/src/lib/elm_box.c
index 6d1a0d2a04..b53d698389 100644
--- a/legacy/elementary/src/lib/elm_box.c
+++ b/legacy/elementary/src/lib/elm_box.c
@@ -371,7 +371,6 @@ elm_box_add(Evas_Object *parent)
371 evas_object_event_callback_add(wd->box, EVAS_CALLBACK_CHANGED_SIZE_HINTS, 371 evas_object_event_callback_add(wd->box, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
372 _changed_size_hints, obj); 372 _changed_size_hints, obj);
373 elm_widget_resize_object_set(obj, wd->box); 373 elm_widget_resize_object_set(obj, wd->box);
374 elm_widget_sub_object_add(obj, wd->box);
375 374
376 evas_object_smart_callback_add(obj, "sub-object-del", _sub_del, obj); 375 evas_object_smart_callback_add(obj, "sub-object-del", _sub_del, obj);
377 376
diff --git a/legacy/elementary/src/lib/elm_video.c b/legacy/elementary/src/lib/elm_video.c
index 7de8e977c6..e0827a7d09 100644
--- a/legacy/elementary/src/lib/elm_video.c
+++ b/legacy/elementary/src/lib/elm_video.c
@@ -279,7 +279,6 @@ elm_video_add(Evas_Object *parent)
279 wd->layout = edje_object_add(e); 279 wd->layout = edje_object_add(e);
280 _elm_theme_object_set(obj, wd->layout, "video", "base", "default"); 280 _elm_theme_object_set(obj, wd->layout, "video", "base", "default");
281 elm_widget_resize_object_set(obj, wd->layout); 281 elm_widget_resize_object_set(obj, wd->layout);
282 elm_widget_sub_object_add(obj, wd->layout);
283 evas_object_show(wd->layout); 282 evas_object_show(wd->layout);
284 evas_object_size_hint_weight_set(wd->layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 283 evas_object_size_hint_weight_set(wd->layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
285 284