2005-04-05 David Zeuthen <davidz@redhat.com>
authorDavid Zeuthen <davidz@redhat.com>
Wed, 6 Apr 2005 17:36:47 +0000 (17:36 +0000)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 6 Apr 2005 17:36:47 +0000 (17:36 +0000)
commit9f13881562a0b3af65f6aa2d14b5f21ff718b66e
tree76b1e07d48a760176033a407f4753aa850fb50f6
parent6cd7cb575d82e4a52a20af94306f4450ecba26ff
2005-04-05  David Zeuthen  <davidz@redhat.com>

Fix https://bugs.freedesktop.org/show_bug.cgi?id=2889

* glib/dbus-gmain.c:
(io_handler_destroy_source): Remove from list of IO handlers
of the ConnectionSetup object
(timeout_handler_destroy_source): -do- for timeout handlers
(io_handler_source_finalized): Don't remove from list since
we now do that in io_handler_destroy_source(). Renamed from
io_handler_source_destroyed
(timeout_handler_source_destroyed): -do- for timeout handlers
(connection_setup_free): It is now safe to iterate over all
IO and timeout handlers as the _destroy_source removes them
from the list synchronously
ChangeLog
glib/dbus-gmain.c