From 8ad64459beaf3608b72954f163503d6d2ce8ab12 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 1 Jun 2015 10:02:22 -0700 Subject: daemon: make UpDevice a subclass of UpExportedDeviceSkeleton Removes proxying of properties from one object to the other. --- src/up-device.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/up-device.h') 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 - +#include #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); -- cgit v1.2.1