Dear all,

This patch is evas_object_unref position change properly in _item_select.

Thanks
Joey
Index: src/lib/elm_genlist.c
===================================================================
--- src/lib/elm_genlist.c	(revision 69367)
+++ src/lib/elm_genlist.c	(working copy)
@@ -3535,7 +3535,6 @@ _item_select(Elm_Gen_Item *it)
      evas_object_smart_callback_call(WIDGET(it), SIG_SELECTED, it);
    it->walking--;
    it->wd->walking--;
-   evas_object_unref(WIDGET(it));
    if ((it->wd->clear_me) && (!it->wd->walking))
      _elm_genlist_clear(WIDGET(it), EINA_TRUE);
    else
@@ -3551,6 +3550,7 @@ _item_select(Elm_Gen_Item *it)
         else
           it->wd->last_selected_item = (Elm_Object_Item *)it;
      }
+   evas_object_unref(WIDGET(it));
 }
 
 static Evas_Object *
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to