summaryrefslogtreecommitdiff
path: root/src/up-device.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-06-01 10:02:22 -0700
committerRichard Hughes <richard@hughsie.com>2015-07-29 13:38:13 +0100
commit8ad64459beaf3608b72954f163503d6d2ce8ab12 (patch)
tree1d90760948a07c95953338137dc6ec6272f46476 /src/up-device.h
parentc108a8e8a4126a0e0c13fd3022e71fca8e3bdd31 (diff)
downloadupower-8ad64459beaf3608b72954f163503d6d2ce8ab12.tar.gz
daemon: make UpDevice a subclass of UpExportedDeviceSkeleton
Removes proxying of properties from one object to the other.
Diffstat (limited to 'src/up-device.h')
-rw-r--r--src/up-device.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/up-device.h b/src/up-device.h
index cc50427..58c0bd8 100644
--- a/src/up-device.h
+++ b/src/up-device.h
@@ -22,8 +22,7 @@
#ifndef __UP_DEVICE_H__
#define __UP_DEVICE_H__
-#include <glib-object.h>
-
+#include <dbus/up-device-generated.h>
#include "up-daemon.h"
G_BEGIN_DECLS
@@ -39,13 +38,13 @@ typedef struct UpDevicePrivate UpDevicePrivate;
typedef struct
{
- GObject parent;
+ UpExportedDeviceSkeleton parent;
UpDevicePrivate *priv;
} UpDevice;
typedef struct
{
- GObjectClass parent_class;
+ UpExportedDeviceSkeletonClass parent_class;
/* vtable */
gboolean (*coldplug) (UpDevice *device);