gmain: mark newest id used when source id overflows
authorNoah Massey <gnome@walterwelp.net>
Sun, 13 Oct 2013 14:25:39 +0000 (10:25 -0400)
committerColin Walters <walters@verbum.org>
Sun, 13 Oct 2013 14:25:39 +0000 (10:25 -0400)
commitc4c3ee6087d36603b29a8a1201c7171d2f99c0b1
treedda5026b7a978928dcb940cebac1a72b1379f136
parente2d5282636bcbf4c8ac64a599bb020d33cd59897
gmain: mark newest id used when source id overflows

When the source id reaches G_MAXUINT (just prior to overflow), we
record the existing source ids to prevent reassigning them.  As we are
about to assign G_MAXUINT to the triggering source, that id should be
added as well.

https://bugzilla.gnome.org/show_bug.cgi?id=710002
glib/gmain.c