Make the child source test work
authorMatthias Clasen <mclasen@redhat.com>
Mon, 23 Apr 2012 04:35:37 +0000 (00:35 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 23 Apr 2012 04:35:37 +0000 (00:35 -0400)
commita151c97106948c6bd21b0e2a71b7c18b1f106ce9
treefde1eb324b8f45d2c9a52597066dd0d5d206992a
parentd18a9caf0310c2c6f98e04e15c7a8ca8280846e1
Make the child source test work

On my machine, this test was failing, because the timeout source
for quitting the inner mainloop was triggering repeatedly. Avoid
that by explicitly returning G_SOURCE_REMOVE from the callback.
glib/tests/mainloop.c