elm_interface_scrollable: prevent calling APIs with NULL edje object
authorYeongjong Lee <yj34.lee@samsung.com>
Wed, 12 Feb 2020 14:04:09 +0000 (09:04 -0500)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 12 Feb 2020 21:11:39 +0000 (06:11 +0900)
commit96ae91a6259645acb0739389da62f46f0c4271bd
tree17081bcddf9c125868787604d0b84919f0fe9f14
parent93d195943accd7769fd57009d38e3ef1b618f479
elm_interface_scrollable: prevent calling APIs with NULL edje object

Summary:
Is is unnecessary to call edje_object_ functions if `edje_obj` is NULL.

Also, It prevents printing 6 eo warnings
```
WRN<30343>:eo ../src/lib/eo/eo.c:644 _efl_object_call_resolve() NULL passed to function efl_layout_signal_emit().
```

Test Plan:
`EINA_LOG_LEVELS=eo:2 elementary_test`
`EINA_LOG_LEVELS=eo:3 elementary_test -to focus`

Reviewers: bu5hm4n, Jaehyun_Cho, zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11315
src/lib/elementary/elm_interface_scrollable.c