summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--src/dkp-device-list.h2
-rw-r--r--src/dkp-history.h2
-rw-r--r--src/dkp-polkit.h2
7 files changed, 7 insertions, 7 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,
diff --git a/src/dkp-device-list.h b/src/dkp-device-list.h
index 2d7d9c3..d8b5036 100644
--- a/src/dkp-device-list.h
+++ b/src/dkp-device-list.h
@@ -51,7 +51,7 @@ typedef struct
GObjectClass parent_class;
} DkpDeviceListClass;
-GType dkp_device_list_get_type (void) G_GNUC_CONST;
+GType dkp_device_list_get_type (void);
DkpDeviceList *dkp_device_list_new (void);
DkpDevice *dkp_device_list_lookup (DkpDeviceList *list,
DevkitDevice *d);
diff --git a/src/dkp-history.h b/src/dkp-history.h
index 72a9399..2428885 100644
--- a/src/dkp-history.h
+++ b/src/dkp-history.h
@@ -60,7 +60,7 @@ typedef enum {
} DkpHistoryType;
-GType dkp_history_get_type (void) G_GNUC_CONST;
+GType dkp_history_get_type (void);
DkpHistory *dkp_history_new (void);
EggObjList *dkp_history_get_data (DkpHistory *history,
DkpHistoryType type,
diff --git a/src/dkp-polkit.h b/src/dkp-polkit.h
index b54c82f..8934af2 100644
--- a/src/dkp-polkit.h
+++ b/src/dkp-polkit.h
@@ -47,7 +47,7 @@ typedef struct
GObjectClass parent_class;
} DkpPolkitClass;
-GType dkp_polkit_get_type (void) G_GNUC_CONST;
+GType dkp_polkit_get_type (void);
DkpPolkit *dkp_polkit_new (void);
PolKitCaller *dkp_polkit_get_caller (DkpPolkit *polkit,
DBusGMethodInvocation *context);