elm genlist: Fixed flip bug. Patch by Hyoyoung Chang
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Mar 2012 08:22:26 +0000 (08:22 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Mar 2012 08:22:26 +0000 (08:22 +0000)
<hyoyoung@gmail.com>

On Thu, Mar 29, 2012 at 4:56 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all
>
> I made a patch about flip_realize.
> Currently flip feature uses content_objs, so it should keep its
content_objs.
> However it's lost at _item_flips_realize().
> So i fixed to initialize with its content_objs.
>
> Thanks

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69725 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_genlist.c

index 9d3e1c6..8f0eeeb 100644 (file)
@@ -1963,7 +1963,7 @@ _item_flips_realize(Elm_Gen_Item *it,
                     Evas_Object *target,
                     Eina_List **source)
 {
-   Eina_List *res = NULL;
+   Eina_List *res = it->content_objs;
 
    if (it->itc->func.content_get)
      {