elm: Forbid calls to efl_part(obj, NULL)
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 5 Jul 2017 11:12:14 +0000 (20:12 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 5 Jul 2017 11:21:08 +0000 (20:21 +0900)
commit9b667ed06292bc4dfe4e67a69788f5961893a9bf
tree450282fad934bd2baf52c283c72960e1b3619a6e
parent075b4a7a0c9966539e80fba491f7a5d384d5f2ca
elm: Forbid calls to efl_part(obj, NULL)

This in theory should only affect the EO API usage. In EO
we don't want efl_part() to be used for NULL part. In other
words, there is no "default" part in EO objects. Instead, those
functions like text_set or content_set should simply be
implemented by the object themselves.

The legacy API on the other hand will make sure that the
"part" argument is set to a non-NULL value before reaching
this point.
src/lib/elementary/elm_layout.c
src/lib/elementary/elm_part_helper.h