elm_gengrid: fix correct parent-child relation of item content
authorYeongjong Lee <cleanlyj@naver.com>
Fri, 8 Mar 2019 04:18:05 +0000 (13:18 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 14 Mar 2019 05:46:29 +0000 (14:46 +0900)
commit651110bf118f453e846a8f2e7e4bd9f949c2ddad
tree4d3141340f95e36755d83bd8c826def4ab7c5fd1
parent16d5c9fce905be701fba4ff115288d49340b7aa1
elm_gengrid: fix correct parent-child relation of item content

Summary:
see 1b2401849a11c5826dead44b4839ca2acb1dbec1 that said
`evas_object_smart_member_del` doesn't make sense here.
I guess `_sub_object_del` should have been used when item_all_contents_unset is
implemented.

Item content should have widget(gengrid) as the parent. but that relationship
is removed by c075b7caaac0c6cf8c1043312041afaf5.
See also, `_item_content_realize` of genlist.

Test Plan: make check

Reviewers: Hermet, SanghyeonLee, bu5hm4n

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8238
src/lib/elementary/elm_gengrid.c
src/tests/elementary/elm_test_gengrid.c
src/tests/elementary/elm_test_genlist.c