Parent: e6de0fed83571930d938ab5323eb8268feb71974
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:53:17
Tree: 50954caf46e71e8a77c982e2a5cc83e578026299
input: 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 | profiles/input/device.c | | | 25 | +++++++++++++- - - - - - - - - - - - |
| M | profiles/input/device.h | | | 6 | +++- - - |
| M | profiles/input/main.c | | | 12 | +- - - - - - - - - - - |
| M | profiles/input/manager.c | | | 10 | ++- - - - - - - - |
| M | profiles/input/manager.h | | | 2 | +- |
5 files changed, 20 insertions(+), 35 deletions(-)