-
Committer:
Iain Lane
-
Date:
2013-12-20 11:25:38 UTC
-
Revision ID:
iain@orangesquash.org.uk-20131220112538-c5h4mw4n8wkl1laz
Don't g_source_remove () already removed sources.
Pass callbacks of the correct type and return FALSE from them, which causes the
timeout to not be called again and the source removed.
There's a leak of the GSource in test_callback_triggered_once when the timeout
isn't called, but it's probably too minor to care about as this is a testsuite.