Hello all,

The swipe cancel timer isn't deleted in elm_genlist_clear, that will
cause invalid access later on.

Please ignore the first part of the patch.  That affect performance on
my device.
Please apply the second part of the diff file.

Thanks. :-)


brian

-- 
brian
------------------

Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe
Index: elementary/src/lib/elm_genlist.c
===================================================================
--- elementary/src/lib/elm_genlist.c    (revision 53513)
+++ elementary/src/lib/elm_genlist.c    (working copy)
@@ -2067,7 +2067,8 @@
    double t0, t;
 
    t0 = ecore_time_get();
-   for (n = 0; (wd->queue) && (n < 128); n++)
+   //for (n = 0; (wd->queue) && (n < 128); n++)
+   for (n = 0; (wd->queue) && (n < 1); n++)
      {
         Elm_Genlist_Item *it;
 
@@ -2341,6 +2342,7 @@
         if (it->itc->func.del)
            it->itc->func.del((void *)it->base.data, it->base.widget);
         if (it->long_timer) ecore_timer_del(it->long_timer);
+        if (it->swipe_timer) ecore_timer_del(it->swipe_timer);
         elm_widget_item_del(it);
      }
    while (wd->blocks)
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to