evas & elm: Fix invalid uses of efl_data_ref(obj, NULL)
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 15 Feb 2017 06:04:20 +0000 (15:04 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 15 Feb 2017 06:35:38 +0000 (15:35 +0900)
commita568d26f722140dcf2169e7cf474ca6366701ef5
tree502e69ecd45cfcb79a7ed1284990da57038fe6c3
parentb7213f2d640d03495b50f38287a3c8642161827f
evas & elm: Fix invalid uses of efl_data_ref(obj, NULL)

The data class should be specified for debug purposes.
Also, this fixes invalid uses inside the smart object
implementation where it assumed that the smart data was part
of the eo data. It may not (legacy objects).
src/lib/elementary/elm_gengrid.c
src/lib/elementary/elm_genlist.c
src/lib/elementary/elm_map.c
src/lib/elementary/elm_photocam.c
src/lib/elementary/elm_thumb.c
src/lib/evas/canvas/evas_layer.c
src/lib/evas/canvas/evas_object_smart.c
src/lib/evas/canvas/render2/evas_render2_th_main.c