From a63411cb3d101cef3e3fa5061001733b26d58fe1 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 26 Oct 2003 15:36:15 +0000 Subject: 2003-10-26 Havoc Pennington * dbus/dbus-connection.c: fix docs to properly describe the disconnected message (_dbus_connection_notify_disconnected): remove this function; we can't synchronously add the disconnected message, we have to do it after we've queued any remaining real messages (_dbus_connection_get_dispatch_status_unlocked): queue the disconnect message only if the transport has finished queueing all its real messages and is disconnected. (dbus_connection_disconnect): update the dispatch status here --- dbus/dbus-transport.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'dbus/dbus-transport.c') diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c index 4625cf25..b58073f6 100644 --- a/dbus/dbus-transport.c +++ b/dbus/dbus-transport.c @@ -415,9 +415,6 @@ _dbus_transport_disconnect (DBusTransport *transport) (* transport->vtable->disconnect) (transport); transport->disconnected = TRUE; - - if (transport->connection) - _dbus_connection_notify_disconnected (transport->connection); } /** -- cgit