list: initialize some internal variables on item free not item del pre.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Sat, 10 May 2014 14:37:03 +0000 (23:37 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Sat, 10 May 2014 14:44:28 +0000 (23:44 +0900)
commitb156b600fa32a4fa58f2e0bbd8e41079b8ec6527
treea9aeb5b53cf982755c5e7951c9991afa5065da7a
parent173930811883621143f40f74ad57db8c3b9ea859
list: initialize some internal variables on item free not item del pre.

This fixes variable initialize problems related to focus. This can be
reproduced when you enable focus highlight/animation and reuse
elm_list by clearing it.

This problem occurred because list item del pre is never been called.
This bug will be addressed in a next commit.
src/lib/elm_list.c