summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-transport.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-10-26 15:36:15 +0000
committerHavoc Pennington <hp@redhat.com>2003-10-26 15:36:15 +0000
commita63411cb3d101cef3e3fa5061001733b26d58fe1 (patch)
treece52cf6d40888f40ec337d4f26d8943d03eebb30 /dbus/dbus-transport.c
parenteb9aa9da9564f2df788580394e67ae6105e517fb (diff)
2003-10-26 Havoc Pennington <hp@redhat.com>
* 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
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r--dbus/dbus-transport.c3
1 files changed, 0 insertions, 3 deletions
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);
}
/**