gnome-power-manager r3226 - in trunk: . libdevkit-power src



Author: rhughes
Date: Wed Feb  4 09:42:57 2009
New Revision: 3226
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3226&view=rev

Log:
2009-02-04  Richard Hughes  <richard hughsie com>

* libdevkit-power/dkp-client.h:
* libdevkit-power/dkp-device.h:
* libdevkit-power/dkp-wakeups.h:
* src/egg-console-kit.h:
* src/egg-dbus-monitor.h:
* src/egg-obj-list.h:
Fix compile failure with gcc-4.4.0 and old versions of glib2


Modified:
   trunk/ChangeLog
   trunk/libdevkit-power/dkp-client.h
   trunk/libdevkit-power/dkp-device.h
   trunk/libdevkit-power/dkp-wakeups.h
   trunk/src/egg-console-kit.h
   trunk/src/egg-dbus-monitor.h
   trunk/src/egg-obj-list.h

Modified: trunk/libdevkit-power/dkp-client.h
==============================================================================
--- trunk/libdevkit-power/dkp-client.h	(original)
+++ trunk/libdevkit-power/dkp-client.h	Wed Feb  4 09:42:57 2009
@@ -57,7 +57,7 @@
 	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,

Modified: trunk/libdevkit-power/dkp-device.h
==============================================================================
--- trunk/libdevkit-power/dkp-device.h	(original)
+++ trunk/libdevkit-power/dkp-device.h	Wed Feb  4 09:42:57 2009
@@ -53,7 +53,7 @@
 							 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);

Modified: trunk/libdevkit-power/dkp-wakeups.h
==============================================================================
--- trunk/libdevkit-power/dkp-wakeups.h	(original)
+++ trunk/libdevkit-power/dkp-wakeups.h	Wed Feb  4 09:42:57 2009
@@ -54,7 +54,7 @@
 							 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);

Modified: trunk/src/egg-console-kit.h
==============================================================================
--- trunk/src/egg-console-kit.h	(original)
+++ trunk/src/egg-console-kit.h	Wed Feb  4 09:42:57 2009
@@ -50,7 +50,7 @@
 							 gboolean	 active);
 } EggConsoleKitClass;
 
-GType		 egg_console_kit_get_type	  	(void) G_GNUC_CONST;
+GType		 egg_console_kit_get_type	  	(void);
 EggConsoleKit	*egg_console_kit_new			(void);
 gboolean	 egg_console_kit_is_local		(EggConsoleKit	*console);
 gboolean	 egg_console_kit_is_active		(EggConsoleKit	*console);

Modified: trunk/src/egg-dbus-monitor.h
==============================================================================
--- trunk/src/egg-dbus-monitor.h	(original)
+++ trunk/src/egg-dbus-monitor.h	Wed Feb  4 09:42:57 2009
@@ -52,7 +52,7 @@
 	void		(* connection_replaced)		(EggDbusMonitor	*watch);
 } EggDbusMonitorClass;
 
-GType		 egg_dbus_monitor_get_type	  	(void) G_GNUC_CONST;
+GType		 egg_dbus_monitor_get_type	  	(void);
 EggDbusMonitor	*egg_dbus_monitor_new			(void);
 gboolean	 egg_dbus_monitor_assign		(EggDbusMonitor	*monitor,
 							 DBusGConnection *connection,

Modified: trunk/src/egg-obj-list.h
==============================================================================
--- trunk/src/egg-obj-list.h	(original)
+++ trunk/src/egg-obj-list.h	Wed Feb  4 09:42:57 2009
@@ -55,7 +55,7 @@
 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]