summaryrefslogtreecommitdiff
path: root/src/up-device.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-06-01 10:08:25 -0700
committerRichard Hughes <richard@hughsie.com>2015-07-29 13:38:13 +0100
commitab4160cad5699e82080fe3c116c72ff5d912daf3 (patch)
tree9125379dbf0cff6e65a5ce8e207fb6af710eb5dc /src/up-device.c
parent8ad64459beaf3608b72954f163503d6d2ce8ab12 (diff)
daemon: make UpDaemon a subclass of UpExportedDaemon
Simplifies some state tracking.
Diffstat (limited to 'src/up-device.c')
-rw-r--r--src/up-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-device.c b/src/up-device.c
index 55a65eb..6b79f13 100644
--- a/src/up-device.c
+++ b/src/up-device.c
@@ -322,7 +322,7 @@ up_device_export_skeleton (UpDevice *device,
GError *error = NULL;
g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (device),
- up_daemon_get_dbus_connection (device->priv->daemon),
+ g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (device->priv->daemon)),
object_path,
&error);