- 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.
This commit is contained in:
Martyn James Russell
2005-12-07 12:09:44 +00:00
parent 9763367246
commit c6ad7b7ac8
5 changed files with 72 additions and 23 deletions

View File

@@ -1,3 +1,16 @@
2005-12-07 Martyn Russell <martyn@imendio.com>
* 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.
2005-12-07 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt: