From 87e841d7b7804ea22377dee627899f0551c29cbf Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Wed, 5 Aug 2015 15:04:30 +0530 Subject: [PATCH] test_popup: set popup content correctly internal object content_area was not swallowed into popup since elm_object_part_content_set() was used. Steps to reproduce: 1. clouseau elementary_test -to popup 2. open subpopup example. 3. observe orphan content_area object in clouseau widget list. --- legacy/elementary/src/bin/test_popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/bin/test_popup.c b/legacy/elementary/src/bin/test_popup.c index 32712ac471..a2e576c1d9 100644 --- a/legacy/elementary/src/bin/test_popup.c +++ b/legacy/elementary/src/bin/test_popup.c @@ -692,7 +692,7 @@ _subpopup_cb(void *data, Evas_Object *obj EINA_UNUSED, // button as a popup content btn = elm_button_add(popup); elm_object_text_set(btn, "content"); - elm_object_part_content_set(popup, "elm.swallow.content", btn); + elm_object_content_set(popup, btn); // popup buttons btn = elm_button_add(popup);