efl_ui_collection: fix the insertion of the first element with pack_at
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 11 Sep 2019 17:38:48 +0000 (13:38 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Mon, 16 Sep 2019 01:23:00 +0000 (10:23 +0900)
commit02820584a4303521899c20b2cb94af513db8654e
treea7815764cbcd1521eedf02451669784e6a0a84ac
parent89eee16f78c00c98524628ebecdd8e7cba03c62d
efl_ui_collection: fix the insertion of the first element with pack_at

Summary:
before pack_at with no element failed because the list element has been
NULL.
This fixes the insertion, the codepath also works without the error.
Depends on D9871

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9890
src/lib/elementary/efl_ui_collection.c