On Fri, 30 Dec 2011 11:12:35 +0900 Carsten Haitzler (The Rasterman) <ras...@rasterman.com> wrote:
> On Thu, 29 Dec 2011 20:43:10 -0500 Michael Blumenkrantz > <michael.blumenkra...@gmail.com> said: > > > why is there both a direct_sorted_insert() and a sorted_insert() when they > > both do the exact same thing? > > they dont do the same thing. not quite. though i think its silly to have both. > elm_genlist_item_sorted_insert() calls the compare func and passes in > item->data as the 2 things to compare. elm_genlist_item_direct_sorted_insert() > passes item as the 2 items to compare. as you can get item data from an item > the first call is pointless fluff. > I guess I figured that you'd always be getting the data pointer in the direct variant, and thus they do the same thing. There isn't really any point in comparing the items by themselves... ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel