summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bus/connection.c6
-rw-r--r--bus/connection.h1
-rw-r--r--bus/dispatch.c2
-rw-r--r--bus/stats.c2
4 files changed, 2 insertions, 9 deletions
diff --git a/bus/connection.c b/bus/connection.c
index 8d741d6f..ea2d155a 100644
--- a/bus/connection.c
+++ b/bus/connection.c
@@ -2026,12 +2026,6 @@ bus_transaction_get_context (BusTransaction *transaction)
return transaction->context;
}
-BusConnections*
-bus_transaction_get_connections (BusTransaction *transaction)
-{
- return bus_context_get_connections (transaction->context);
-}
-
dbus_bool_t
bus_transaction_send_from_driver (BusTransaction *transaction,
DBusConnection *connection,
diff --git a/bus/connection.h b/bus/connection.h
index 13c8b99f..9f4f9aea 100644
--- a/bus/connection.h
+++ b/bus/connection.h
@@ -122,7 +122,6 @@ typedef void (* BusTransactionCancelFunction) (void *data);
BusTransaction* bus_transaction_new (BusContext *context);
BusContext* bus_transaction_get_context (BusTransaction *transaction);
-BusConnections* bus_transaction_get_connections (BusTransaction *transaction);
dbus_bool_t bus_transaction_send (BusTransaction *transaction,
DBusConnection *connection,
DBusMessage *message);
diff --git a/bus/dispatch.c b/bus/dispatch.c
index 5fc0d112..7a61953f 100644
--- a/bus/dispatch.c
+++ b/bus/dispatch.c
@@ -133,7 +133,7 @@ bus_dispatch_matches (BusTransaction *transaction,
}
/* Now dispatch to others who look interested in this message */
- connections = bus_transaction_get_connections (transaction);
+ connections = bus_context_get_connections (context);
dbus_error_init (&tmp_error);
matchmaker = bus_context_get_matchmaker (context);
diff --git a/bus/stats.c b/bus/stats.c
index ec768ec7..2bf86d66 100644
--- a/bus/stats.c
+++ b/bus/stats.c
@@ -48,7 +48,7 @@ bus_stats_handle_get_stats (DBusConnection *connection,
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
- connections = bus_transaction_get_connections (transaction);
+ connections = bus_context_get_connections (transaction->context);
reply = _dbus_asv_new_method_return (message, &iter, &arr_iter);