Parent: ae92ea28f9c6bdec8a5f74c646af35df310de129
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:51:53
Tree: 8778cb14d3a5ee76c24f974b7a41f14fc84db61b
adapter: Simplify DBusConnection object handling This patch removes redundant references and function parameters for DBusConnection object and uses btd_get_dbus_connection() call wherever such object is needed instead. Pointer returned by this call is guaranteed to be valid for entire bluetoothd lifetime and thus do not need to be refcounted.
Diffstat
| M | audio/manager.c | | | 2 | +- |
| M | profiles/health/hdp.c | | | 3 | +- - |
| M | src/adapter.c | | | 132 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | src/adapter.h | | | 8 | ++++- - - - |
| M | src/event.c | | | 9 | +++- - - - - - |
| M | src/manager.c | | | 2 | +- |
6 files changed, 68 insertions(+), 88 deletions(-)