Do not try to get the genlist Smart_Data from the data pointer in
authorChristopher Michael <cp.michael@samsung.com>
Thu, 10 Jan 2013 14:06:46 +0000 (14:06 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 10 Jan 2013 14:06:46 +0000 (14:06 +0000)
commit0faaf7b7b5d8275aff4cfb89312a3a3e94dbd96d
tree6ee1c728ac4c8f68d87c06fb88c8b8f20d471834
parentb70730ca6dcf2b77e6dcccd2fc0d1b746e0ad704
Do not try to get the genlist Smart_Data from the data pointer in
show_region_hook, but rather get it from the actual Object.

Fixes a crash that happens if someone overrides the show_region_hook
(via elm_widget call) and passes an Int or String or something else as
the data parameter.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 82571
src/lib/elm_genlist.c