diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-11-28 09:17:38 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-01-06 15:59:18 +0000 |
commit | 854554c3a67b880ac92fa72c476b772cb5968b26 (patch) | |
tree | 7183d4945a1f7ef833dde7303606efc5df1bb6d0 /bus/connection.c | |
parent | b2a517040cd6f0fcc676abe833675d5473820226 (diff) | |
download | dbus-854554c3a67b880ac92fa72c476b772cb5968b26.tar.gz dbus-854554c3a67b880ac92fa72c476b772cb5968b26.tar.bz2 dbus-854554c3a67b880ac92fa72c476b772cb5968b26.zip |
BusTransaction: remove confusing getter of connections
There is a DBusList* member of BusTransaction named "connections", while
its getter function bus_transaction_get_connections() returns
context->connections which in fact is a BusConnections pointer, this is
quite confusing. Because this is what bus_context_get_connections()
returns.
This patch call out to bus_context_get_connections() directly and remove
the then unused bus_transaction_get_connections().
https://bugs.freedesktop.org/show_bug.cgi?id=71597
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/connection.c')
-rw-r--r-- | bus/connection.c | 6 |
1 files changed, 0 insertions, 6 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, |