genlist: fix state corruption of content
authorAndrii Kroitor <an.kroitor@samsung.com>
Wed, 15 Nov 2017 08:41:45 +0000 (10:41 +0200)
committerAndrii Kroitor <an.kroitor@samsung.com>
Wed, 15 Nov 2017 08:57:10 +0000 (10:57 +0200)
commita2532b8ef0a69b00019d3ea5cf87032de4fdd201
tree5cca76edecb66d4d7bf32cae3529c3d37e4e873a
parentd96f3bb4f398590adeb95d05110cf95b757a429c
genlist: fix state corruption of content

When using reusable content, genlist preserves old object's state and is
expecting reusable_content_get callback to change all needed properties.
But there was an inconsistency: it was silently re-enabling the old content.

@fix
src/bin/elementary/test_genlist.c
src/lib/elementary/elm_genlist.c