Commit: d5cfa3877099942253a83945ca03a3da9d7a4a63
Parent: 7c26522fd03c3e289f28044bc3d2019367397dd4
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:53:49
Tree: e11961b214250a591e1bcff7f6c486a58c9bf33d

thermometer: 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/thermometer/main.c | 17 +- - - - - - - - - - - - - - - -
M profiles/thermometer/manager.c | 11 ++- - - - - - - - -
M profiles/thermometer/manager.h | 2 +-
M profiles/thermometer/thermometer.c | 22 +++++++++- - - - - - - - - - - - -
M profiles/thermometer/thermometer.h | 3 +- -

5 files changed, 14 insertions(+), 41 deletions(-)

View Full Diff | Patch