GSequence: Make g_sequence_iter_move behave as documented
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2011 02:08:24 +0000 (22:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2011 02:08:24 +0000 (22:08 -0400)
commit440bd2a97574e63c39f0c1e2dbf8a17c2635b0e9
treee8230d02ac4342922b4f94f3cc2fb1107d248242
parent2a3f7f49b46abdaf2d82e704a3ee044ed57fb61f
GSequence: Make g_sequence_iter_move behave as documented

As pointed out in bug 658313, moving before the begin iter is
supposed to return the begin iter, not the end iter. Also add
a test for this behaviour.
glib/gsequence.c
glib/tests/sequence.c