New function, that calls g_source_remove(). Check return value of
commit3d6f441f96339a41bf6e02703d689ee87cc1c365
authorTor Lillqvist <tml@iki.fi>
Sun, 6 Aug 2000 23:33:29 +0000 (6 23:33 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 6 Aug 2000 23:33:29 +0000 (6 23:33 +0000)
tree33f23f031cc5e2df682d7beb09e6f405c77183bf
parent042179dad8ae6eef4053a5c0a2a4843e2d1b9830
New function, that calls g_source_remove(). Check return value of

2000-08-07  Tor Lillqvist  <tml@iki.fi>

* tests/gio-test.c (shutdown_source): New function, that calls
g_source_remove(). Check return value of g_source_remove(), and
decrement running subprocess counter only if g_source_remove()
actually did remove the source.

(recv_message): Call shutdown_source() on EOF condition. Return
FALSE on G_IO_HUP and G_IO_ERR condition. Fix printf format typo.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
tests/gio-test.c