- Call g_queue_insert_sorted() instead of duplicating the code. - Call
authorMartyn James Russell <mr@src.gnome.org>
Wed, 7 Dec 2005 12:09:44 +0000 (12:09 +0000)
committerMartyn James Russell <mr@src.gnome.org>
Wed, 7 Dec 2005 12:09:44 +0000 (12:09 +0000)
commitc6ad7b7ac89ef2e377711a5b76d820dc7c86af25
tree2c801cbf985b81a5bc4ffad9701dc5fcd11d93e8
parent9763367246002fa3501f222105cb3b20d8d18c97
- Call g_queue_insert_sorted() instead of duplicating the code. - Call

* glib/gasyncqueue.c:
- Call g_queue_insert_sorted() instead of duplicating the code.
- Call g_queue_sort() instead of duplicating the code.
- Invert sort function results to make sure the same sort function
gives the same results across glist, gslist, gqueue and
gasyncqueue.

* tests/asyncqueue-test.c:
- Updated the sort function to reflect the example in the
documentation for gasyncqueue.c.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
glib/gasyncqueue.c
tests/asyncqueue-test.c