Parent: 0c6bdf6049d8ea04a75b23841b92548efce11e1d
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:50:48
Tree: f378d1368889f19a390c322feb279ac8bf7d0c67
agent: Simplify DBusConnection object handling This patch removes local reference to 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 | src/agent.c | | | 44 | +++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | src/agent.h | | | 3 | - - - |
| M | src/main.c | | | 4 | - - - - |
3 files changed, 17 insertions(+), 34 deletions(-)