diff options
Diffstat (limited to 'libupower-glib/up-device.h')
-rw-r--r-- | libupower-glib/up-device.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libupower-glib/up-device.h b/libupower-glib/up-device.h index 5186796..22d168a 100644 --- a/libupower-glib/up-device.h +++ b/libupower-glib/up-device.h @@ -44,16 +44,14 @@ G_BEGIN_DECLS typedef struct _UpDevicePrivate UpDevicePrivate; -typedef struct -{ +typedef struct { GObject parent; UpDevicePrivate *priv; } UpDevice; -typedef struct -{ - GObjectClass parent_class; +typedef struct { /*< private >*/ + GObjectClass parent_class; /* Padding for future expansion */ void (*_up_device_reserved1) (void); void (*_up_device_reserved2) (void); |