summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r--dbus/dbus-transport.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c
index da487cc7..1a9da4a3 100644
--- a/dbus/dbus-transport.c
+++ b/dbus/dbus-transport.c
@@ -141,7 +141,6 @@ _dbus_transport_init_base (DBusTransport *transport,
transport->auth = auth;
transport->live_messages_size = counter;
transport->authenticated = FALSE;
- transport->messages_need_sending = FALSE;
transport->disconnected = FALSE;
transport->send_credentials_pending = !server;
transport->receive_credentials_pending = server;
@@ -611,32 +610,6 @@ _dbus_transport_set_connection (DBusTransport *transport,
}
/**
- * Notifies the transport when the outgoing message queue goes from
- * empty to non-empty or vice versa. Typically causes the transport to
- * add or remove its DBUS_WATCH_WRITABLE watch.
- *
- * @param transport the transport.
- * @param queue_length the length of the outgoing message queue.
- *
- */
-void
-_dbus_transport_messages_pending (DBusTransport *transport,
- int queue_length)
-{
- _dbus_assert (transport->vtable->messages_pending != NULL);
-
- if (transport->disconnected)
- return;
-
- transport->messages_need_sending = queue_length > 0;
-
- _dbus_transport_ref (transport);
- (* transport->vtable->messages_pending) (transport,
- queue_length);
- _dbus_transport_unref (transport);
-}
-
-/**
* Get the UNIX file descriptor, if any.
*
* @param transport the transport