Re: question on g_list_insert_sorted () usage
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: question on g_list_insert_sorted () usage
- Date: Sun, 25 Jun 2006 09:22:33 +0200
On Sat, Jun 24, 2006 at 09:57:07PM -0500, Aar Em wrote:
> Folks, so I figured it out: turns out that there is what I believe a bug (or
> a feature) in g_list_insert_sorted -- if the list is null, even then it goes
> off to sort.
It does no such thing and never did:
http://cvs.gnome.org/viewcvs/glib/glib/glist.c?rev=1.35&view=log
> If the list is NULL, it should just add
> to the list.
And that's exactly what it does since ever.
Yeti
--
Anonyms eat their boogers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]