gnome-power-manager r2679 - in trunk: . libdbus-glib libhal-glib libidletime src



Author: rhughes
Date: Tue Feb 19 01:30:48 2008
New Revision: 2679
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2679&view=rev

Log:
2008-02-19  Richard Hughes  <richard hughsie com>

* libdbus-glib/libdbus-monitor-session.c:
* libdbus-glib/libdbus-monitor-system.c:
* libdbus-glib/libdbus-proxy.c:
* libdbus-glib/libdbus-watch.c:
* libhal-glib/libhal-gdevice.c:
* libhal-glib/libhal-gdevicestore.c:
* libhal-glib/libhal-gmanager.c:
* libidletime/libidletime.c:
* src/gpm-ac-adapter.c:
* src/gpm-backlight.c:
* src/gpm-brightness-kbd.c:
* src/gpm-brightness-lcd.c:
* src/gpm-button.c:
* src/gpm-cell-array.c:
* src/gpm-cell-unit.h:
* src/gpm-cell.c:
* src/gpm-conf.c:
* src/gpm-control.c:
* src/gpm-dpms.c:
* src/gpm-engine.c:
* src/gpm-idle.c:
* src/gpm-inhibit.c:
* src/gpm-light-sensor.c:
* src/gpm-manager.c:
* src/gpm-notify.c:
* src/gpm-phone.c:
* src/gpm-prefs-core.c:
* src/gpm-prefs-server.c:
* src/gpm-refcount.c:
* src/gpm-screensaver.c:
* src/gpm-statistics-core.c:
* src/gpm-tray-icon.c:
Remove non-required trailing commas.


Modified:
   trunk/ChangeLog
   trunk/libdbus-glib/libdbus-monitor-session.c
   trunk/libdbus-glib/libdbus-monitor-system.c
   trunk/libdbus-glib/libdbus-proxy.c
   trunk/libdbus-glib/libdbus-watch.c
   trunk/libhal-glib/libhal-gdevice.c
   trunk/libhal-glib/libhal-gdevicestore.c
   trunk/libhal-glib/libhal-gmanager.c
   trunk/libidletime/libidletime.c
   trunk/src/gpm-ac-adapter.c
   trunk/src/gpm-backlight.c
   trunk/src/gpm-brightness-kbd.c
   trunk/src/gpm-brightness-lcd.c
   trunk/src/gpm-button.c
   trunk/src/gpm-cell-array.c
   trunk/src/gpm-cell-unit.h
   trunk/src/gpm-cell.c
   trunk/src/gpm-conf.c
   trunk/src/gpm-control.c
   trunk/src/gpm-dpms.c
   trunk/src/gpm-engine.c
   trunk/src/gpm-idle.c
   trunk/src/gpm-inhibit.c
   trunk/src/gpm-light-sensor.c
   trunk/src/gpm-manager.c
   trunk/src/gpm-notify.c
   trunk/src/gpm-phone.c
   trunk/src/gpm-prefs-core.c
   trunk/src/gpm-prefs-server.c
   trunk/src/gpm-refcount.c
   trunk/src/gpm-screensaver.c
   trunk/src/gpm-statistics-core.c
   trunk/src/gpm-tray-icon.c

Modified: trunk/libdbus-glib/libdbus-monitor-session.c
==============================================================================
--- trunk/libdbus-glib/libdbus-monitor-session.c	(original)
+++ trunk/libdbus-glib/libdbus-monitor-session.c	Tue Feb 19 01:30:48 2008
@@ -47,7 +47,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer dbus_monitor_session = NULL;
 
 G_DEFINE_TYPE (DbusMonitorSession, dbus_monitor_session, G_TYPE_OBJECT)

Modified: trunk/libdbus-glib/libdbus-monitor-system.c
==============================================================================
--- trunk/libdbus-glib/libdbus-monitor-system.c	(original)
+++ trunk/libdbus-glib/libdbus-monitor-system.c	Tue Feb 19 01:30:48 2008
@@ -47,7 +47,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer dbus_monitor_system = NULL;
 
 G_DEFINE_TYPE (DbusMonitorSystem, dbus_monitor_system, G_TYPE_OBJECT)

Modified: trunk/libdbus-glib/libdbus-proxy.c
==============================================================================
--- trunk/libdbus-glib/libdbus-proxy.c	(original)
+++ trunk/libdbus-glib/libdbus-proxy.c	Tue Feb 19 01:30:48 2008
@@ -57,7 +57,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (DbusProxy, dbus_proxy, G_TYPE_OBJECT)
 

Modified: trunk/libdbus-glib/libdbus-watch.c
==============================================================================
--- trunk/libdbus-glib/libdbus-watch.c	(original)
+++ trunk/libdbus-glib/libdbus-watch.c	Tue Feb 19 01:30:48 2008
@@ -53,7 +53,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (DbusWatch, dbus_watch, G_TYPE_OBJECT)
 

Modified: trunk/libhal-glib/libhal-gdevice.c
==============================================================================
--- trunk/libhal-glib/libhal-gdevice.c	(original)
+++ trunk/libhal-glib/libhal-gdevice.c	Tue Feb 19 01:30:48 2008
@@ -66,7 +66,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (HalGDevice, hal_gdevice, G_TYPE_OBJECT)
 

Modified: trunk/libhal-glib/libhal-gdevicestore.c
==============================================================================
--- trunk/libhal-glib/libhal-gdevicestore.c	(original)
+++ trunk/libhal-glib/libhal-gdevicestore.c	Tue Feb 19 01:30:48 2008
@@ -47,7 +47,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (HalGDevicestore, hal_gdevicestore, G_TYPE_OBJECT)
 

Modified: trunk/libhal-glib/libhal-gmanager.c
==============================================================================
--- trunk/libhal-glib/libhal-gmanager.c	(original)
+++ trunk/libhal-glib/libhal-gmanager.c	Tue Feb 19 01:30:48 2008
@@ -67,7 +67,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer hal_gmanager_object = NULL;
 
 G_DEFINE_TYPE (HalGManager, hal_gmanager, G_TYPE_OBJECT)

Modified: trunk/libidletime/libidletime.c
==============================================================================
--- trunk/libidletime/libidletime.c	(original)
+++ trunk/libidletime/libidletime.c	Tue Feb 19 01:30:48 2008
@@ -63,7 +63,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer idletime_object = NULL;
 
 G_DEFINE_TYPE (LibIdletime, idletime, G_TYPE_OBJECT)

Modified: trunk/src/gpm-ac-adapter.c
==============================================================================
--- trunk/src/gpm-ac-adapter.c	(original)
+++ trunk/src/gpm-ac-adapter.c	Tue Feb 19 01:30:48 2008
@@ -58,7 +58,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_ac_adapter_object = NULL;
 
 G_DEFINE_TYPE (GpmAcAdapter, gpm_ac_adapter, G_TYPE_OBJECT)

Modified: trunk/src/gpm-backlight.c
==============================================================================
--- trunk/src/gpm-backlight.c	(original)
+++ trunk/src/gpm-backlight.c	Tue Feb 19 01:30:48 2008
@@ -89,7 +89,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmBacklight, gpm_backlight, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-brightness-kbd.c
==============================================================================
--- trunk/src/gpm-brightness-kbd.c	(original)
+++ trunk/src/gpm-brightness-kbd.c	Tue Feb 19 01:30:48 2008
@@ -76,7 +76,7 @@
 };
 
 G_DEFINE_TYPE (GpmBrightnessKbd, gpm_brightness_kbd, G_TYPE_OBJECT)
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 /**
  * gpm_brightness_kbd_get_hw:

Modified: trunk/src/gpm-brightness-lcd.c
==============================================================================
--- trunk/src/gpm-brightness-lcd.c	(original)
+++ trunk/src/gpm-brightness-lcd.c	Tue Feb 19 01:30:48 2008
@@ -66,7 +66,7 @@
 };
 
 G_DEFINE_TYPE (GpmBrightnessLcd, gpm_brightness_lcd, G_TYPE_OBJECT)
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_brightness_object = NULL;
 
 /**

Modified: trunk/src/gpm-button.c
==============================================================================
--- trunk/src/gpm-button.c	(original)
+++ trunk/src/gpm-button.c	Tue Feb 19 01:30:48 2008
@@ -61,7 +61,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_button_object = NULL;
 
 G_DEFINE_TYPE (GpmButton, gpm_button, G_TYPE_OBJECT)

Modified: trunk/src/gpm-cell-array.c
==============================================================================
--- trunk/src/gpm-cell-array.c	(original)
+++ trunk/src/gpm-cell-array.c	Tue Feb 19 01:30:48 2008
@@ -84,7 +84,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmCellArray, gpm_cell_array, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-cell-unit.h
==============================================================================
--- trunk/src/gpm-cell-unit.h	(original)
+++ trunk/src/gpm-cell-unit.h	Tue Feb 19 01:30:48 2008
@@ -31,13 +31,14 @@
 	GPM_CELL_UNIT_KIND_KEYBOARD,
 	GPM_CELL_UNIT_KIND_PHONE,
 	GPM_CELL_UNIT_KIND_PDA,
+	GPM_CELL_UNIT_KIND_UNKNOWN
 } GpmCellUnitKind;
 
 typedef enum {
 	GPM_CELL_UNIT_MWH,
 	GPM_CELL_UNIT_CSR,
 	GPM_CELL_UNIT_PERCENT,
-	GPM_CELL_UNIT_UNKNOWN,
+	GPM_CELL_UNIT_UNKNOWN
 } GpmCellUnitMeasure;
 
 typedef struct {

Modified: trunk/src/gpm-cell.c
==============================================================================
--- trunk/src/gpm-cell.c	(original)
+++ trunk/src/gpm-cell.c	Tue Feb 19 01:30:48 2008
@@ -62,7 +62,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmCell, gpm_cell, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-conf.c
==============================================================================
--- trunk/src/gpm-conf.c	(original)
+++ trunk/src/gpm-conf.c	Tue Feb 19 01:30:48 2008
@@ -47,7 +47,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_conf_object = NULL;
 
 G_DEFINE_TYPE (GpmConf, gpm_conf, G_TYPE_OBJECT)

Modified: trunk/src/gpm-control.c
==============================================================================
--- trunk/src/gpm-control.c	(original)
+++ trunk/src/gpm-control.c	Tue Feb 19 01:30:48 2008
@@ -71,7 +71,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_control_object = NULL;
 
 G_DEFINE_TYPE (GpmControl, gpm_control, G_TYPE_OBJECT)

Modified: trunk/src/gpm-dpms.c
==============================================================================
--- trunk/src/gpm-dpms.c	(original)
+++ trunk/src/gpm-dpms.c	Tue Feb 19 01:30:48 2008
@@ -80,10 +80,10 @@
 	PROP_0,
 	PROP_STANDBY_TIMEOUT,
 	PROP_SUSPEND_TIMEOUT,
-	PROP_OFF_TIMEOUT,
+	PROP_OFF_TIMEOUT
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_dpms_object = NULL;
 
 G_DEFINE_TYPE (GpmDpms, gpm_dpms, G_TYPE_OBJECT)

Modified: trunk/src/gpm-engine.c
==============================================================================
--- trunk/src/gpm-engine.c	(original)
+++ trunk/src/gpm-engine.c	Tue Feb 19 01:30:48 2008
@@ -81,7 +81,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmEngine, gpm_engine, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-idle.c
==============================================================================
--- trunk/src/gpm-idle.c	(original)
+++ trunk/src/gpm-idle.c	Tue Feb 19 01:30:48 2008
@@ -74,7 +74,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_idle_object = NULL;
 
 G_DEFINE_TYPE (GpmIdle, gpm_idle, G_TYPE_OBJECT)

Modified: trunk/src/gpm-inhibit.c
==============================================================================
--- trunk/src/gpm-inhibit.c	(original)
+++ trunk/src/gpm-inhibit.c	Tue Feb 19 01:30:48 2008
@@ -59,7 +59,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmInhibit, gpm_inhibit, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-light-sensor.c
==============================================================================
--- trunk/src/gpm-light-sensor.c	(original)
+++ trunk/src/gpm-light-sensor.c	Tue Feb 19 01:30:48 2008
@@ -66,7 +66,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_sensor_object = NULL;
 
 G_DEFINE_TYPE (GpmLightSensor, gpm_light_sensor, G_TYPE_OBJECT)

Modified: trunk/src/gpm-manager.c
==============================================================================
--- trunk/src/gpm-manager.c	(original)
+++ trunk/src/gpm-manager.c	Tue Feb 19 01:30:48 2008
@@ -115,7 +115,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmManager, gpm_manager, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-notify.c
==============================================================================
--- trunk/src/gpm-notify.c	(original)
+++ trunk/src/gpm-notify.c	Tue Feb 19 01:30:48 2008
@@ -70,7 +70,7 @@
 	LAST_SIGNAL
 };
 
-//static guint signals [LAST_SIGNAL] = { 0, };
+//static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_notify_object = NULL;
 
 G_DEFINE_TYPE (GpmNotify, gpm_notify, G_TYPE_OBJECT)

Modified: trunk/src/gpm-phone.c
==============================================================================
--- trunk/src/gpm-phone.c	(original)
+++ trunk/src/gpm-phone.c	Tue Feb 19 01:30:48 2008
@@ -57,7 +57,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_phone_object = NULL;
 
 G_DEFINE_TYPE (GpmPhone, gpm_phone, G_TYPE_OBJECT)

Modified: trunk/src/gpm-prefs-core.c
==============================================================================
--- trunk/src/gpm-prefs-core.c	(original)
+++ trunk/src/gpm-prefs-core.c	Tue Feb 19 01:30:48 2008
@@ -74,7 +74,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmPrefs, gpm_prefs, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-prefs-server.c
==============================================================================
--- trunk/src/gpm-prefs-server.c	(original)
+++ trunk/src/gpm-prefs-server.c	Tue Feb 19 01:30:48 2008
@@ -53,7 +53,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_prefs_server_object = NULL;
 
 G_DEFINE_TYPE (GpmPrefsServer, gpm_prefs_server, G_TYPE_OBJECT)

Modified: trunk/src/gpm-refcount.c
==============================================================================
--- trunk/src/gpm-refcount.c	(original)
+++ trunk/src/gpm-refcount.c	Tue Feb 19 01:30:48 2008
@@ -48,7 +48,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmRefcount, gpm_refcount, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-screensaver.c
==============================================================================
--- trunk/src/gpm-screensaver.c	(original)
+++ trunk/src/gpm-screensaver.c	Tue Feb 19 01:30:48 2008
@@ -53,7 +53,7 @@
 	LAST_SIGNAL
 };
 
-static guint signals [LAST_SIGNAL] = { 0, };
+static guint signals [LAST_SIGNAL] = { 0 };
 static gpointer gpm_screensaver_object = NULL;
 
 G_DEFINE_TYPE (GpmScreensaver, gpm_screensaver, G_TYPE_OBJECT)

Modified: trunk/src/gpm-statistics-core.c
==============================================================================
--- trunk/src/gpm-statistics-core.c	(original)
+++ trunk/src/gpm-statistics-core.c	Tue Feb 19 01:30:48 2008
@@ -87,7 +87,7 @@
 	LAST_SIGNAL
 };
 
-static guint	     signals [LAST_SIGNAL] = { 0, };
+static guint	     signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmStatistics, gpm_statistics, G_TYPE_OBJECT)
 

Modified: trunk/src/gpm-tray-icon.c
==============================================================================
--- trunk/src/gpm-tray-icon.c	(original)
+++ trunk/src/gpm-tray-icon.c	Tue Feb 19 01:30:48 2008
@@ -82,7 +82,7 @@
 	PROP_MODE
 };
 
-static guint	 signals [LAST_SIGNAL] = { 0, };
+static guint	 signals [LAST_SIGNAL] = { 0 };
 
 G_DEFINE_TYPE (GpmTrayIcon, gpm_tray_icon, G_TYPE_OBJECT)
 



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