Revert "[Recents] TSAM-10851 Recent app has stopped after remove app" 22/102822/1 submit/tizen_3.0/20161206.133822
authorirfan abdul <irfan.abdul@samsung.com>
Tue, 6 Dec 2016 13:28:24 +0000 (05:28 -0800)
committerirfan abdul <irfan.abdul@samsung.com>
Tue, 6 Dec 2016 13:28:24 +0000 (05:28 -0800)
This reverts commit 1f054946ef1168c06dfbe714dbced576b4bc0219.

Change-Id: I79c05506b7582d19f37ecd198b8e905c6a8248f5

src/item.c

index e775449..e521c71 100644 (file)
@@ -493,16 +493,14 @@ void item_destroy(Evas_Object *item)
        item_inner = elm_object_part_content_unset(item, "txt.app_name");
        if (item_inner) {
                _D("Delete the Label if it is NOT NULL.");
-//this deletion is not requried as item(parent) is deleted
-//             evas_object_del(item_inner);
+               evas_object_del(item_inner);
                item_inner = NULL;
        }
 
        icon = elm_object_part_content_unset(item, "img.app_image");
        if (icon) {
                _D("Delete the icon if it is NOT NULL.");
-//this deletion is not requried as item(parent) is deleted
-//             evas_object_del(icon);
+               evas_object_del(icon);
                icon = NULL;
        }
        Eina_List *l = NULL;