GSequence: add note about lookup requiring sorting
authorJörn Magens <interflug1@gmx.net>
Wed, 29 Feb 2012 17:29:50 +0000 (12:29 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 2 Mar 2012 14:08:30 +0000 (09:08 -0500)
commit00f1e1f5c282b0943d0a7b3e073d8867b0bdba05
tree9509e4d542245b8a2b0827519b3cc9664d9ee416
parent7e7e0b141c887a2880c88f051cb8ed07e474b24a
GSequence: add note about lookup requiring sorting

g_sequence_lookup() only works on sorted sequences, but it's quite easy
to create unsorted sequences.  Add a note to the documentation that the
sequence must be sorted in order for g_sequence_lookup() to work.

https://bugzilla.gnome.org/show_bug.cgi?id=670969
glib/gsequence.c