summaryrefslogtreecommitdiff
path: root/libdevkit-power
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-02-04 09:41:53 +0000
committerRichard Hughes <richard@hughsie.com>2009-02-04 09:41:53 +0000
commit31bd686693ea96628ca9979c294e012037b558a0 (patch)
tree4354f6e9c58a5d4601d1be55090e6b55328a161c /libdevkit-power
parent5da8f5744635560e482c1186703841c28adaa96f (diff)
bugfix: fix compile failure with gcc-4.4.0 and old versions of glib2
Diffstat (limited to 'libdevkit-power')
-rw-r--r--libdevkit-power/dkp-client.h2
-rw-r--r--libdevkit-power/dkp-device.h2
-rw-r--r--libdevkit-power/dkp-wakeups.h2
-rw-r--r--libdevkit-power/egg-obj-list.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/libdevkit-power/dkp-client.h b/libdevkit-power/dkp-client.h
index 9422f05..785f240 100644
--- a/libdevkit-power/dkp-client.h
+++ b/libdevkit-power/dkp-client.h
@@ -57,7 +57,7 @@ typedef struct
void (*changed) (DkpClient *client);
} DkpClientClass;
-GType dkp_client_get_type (void) G_GNUC_CONST;
+GType dkp_client_get_type (void);
DkpClient *dkp_client_new (void);
GPtrArray *dkp_client_enumerate_devices (DkpClient *client);
gboolean dkp_client_suspend (DkpClient *client,
diff --git a/libdevkit-power/dkp-device.h b/libdevkit-power/dkp-device.h
index 083de5c..3171d91 100644
--- a/libdevkit-power/dkp-device.h
+++ b/libdevkit-power/dkp-device.h
@@ -53,7 +53,7 @@ typedef struct
const DkpObject *obj);
} DkpDeviceClass;
-GType dkp_device_get_type (void) G_GNUC_CONST;
+GType dkp_device_get_type (void);
DkpDevice *dkp_device_new (void);
const DkpObject *dkp_device_get_object (const DkpDevice *device);
diff --git a/libdevkit-power/dkp-wakeups.h b/libdevkit-power/dkp-wakeups.h
index 0ee5ff4..770e5bc 100644
--- a/libdevkit-power/dkp-wakeups.h
+++ b/libdevkit-power/dkp-wakeups.h
@@ -54,7 +54,7 @@ typedef struct
guint value);
} DkpWakeupsClass;
-GType dkp_wakeups_get_type (void) G_GNUC_CONST;
+GType dkp_wakeups_get_type (void);
DkpWakeups *dkp_wakeups_new (void);
guint dkp_wakeups_get_total (DkpWakeups *wakeups,
GError **error);
diff --git a/libdevkit-power/egg-obj-list.h b/libdevkit-power/egg-obj-list.h
index 5237df7..ced0e79 100644
--- a/libdevkit-power/egg-obj-list.h
+++ b/libdevkit-power/egg-obj-list.h
@@ -55,7 +55,7 @@ typedef gint (*EggObjListCompareFunc) (gconstpointer data1,
typedef gpointer (*EggObjListFromStringFunc) (const gchar *data);
typedef gchar *(*EggObjListToStringFunc) (gconstpointer data);
-GType egg_obj_list_get_type (void) G_GNUC_CONST;
+GType egg_obj_list_get_type (void);
EggObjList *egg_obj_list_new (void);
void egg_obj_list_set_new (EggObjList *list,