Parent: 522791fba3e5f1bb0b924f9bb112bc1d39dbf28d
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-03 14:16:23
Tree: a1c32585254369be5b7d9f2bf602a01e20fb7e2e
proximity: Simplify DBusConnection object usage DBusConnection object can be obtained at any time by get_dbus_connection() call so there is no need to pass and store it across profile code. Also there's no need to ref/unref this object as by design it will live for entire lifetime of plugin.
Diffstat
| M | profiles/proximity/immalert.c | | | 9 | ++- - - - - - - |
| M | profiles/proximity/immalert.h | | | 2 | +- |
| M | profiles/proximity/linkloss.c | | | 8 | ++- - - - - - |
| M | profiles/proximity/linkloss.h | | | 2 | +- |
| M | profiles/proximity/main.c | | | 10 | +- - - - - - - - - |
| M | profiles/proximity/manager.c | | | 20 | ++++- - - - - - - - - - - - - - - - |
| M | profiles/proximity/manager.h | | | 2 | +- |
| M | profiles/proximity/monitor.c | | | 20 | +++++++++- - - - - - - - - - - |
| M | profiles/proximity/monitor.h | | | 8 | ++++- - - - |
| M | profiles/proximity/reporter.c | | | 16 | ++++- - - - - - - - - - - - |
10 files changed, 29 insertions(+), 68 deletions(-)