summaryrefslogtreecommitdiff
path: root/src
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 /src
parent5da8f5744635560e482c1186703841c28adaa96f (diff)
bugfix: fix compile failure with gcc-4.4.0 and old versions of glib2
Diffstat (limited to 'src')
-rw-r--r--src/dkp-device-list.h2
-rw-r--r--src/dkp-history.h2
-rw-r--r--src/dkp-polkit.h2
3 files changed, 3 insertions, 3 deletions
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);