[gnome-power-manager] Declare GError in gpm_brightness_hal_init to fix build failure



commit fdcf156c85c10a6053b7364d882611df07000343
Author: Chris Coulson <chrisccoulson googlemail com>
Date:   Tue Mar 2 08:59:31 2010 +0000

    Declare GError in gpm_brightness_hal_init to fix build failure

 src/gpm-brightness-hal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gpm-brightness-hal.c b/src/gpm-brightness-hal.c
index 64bf30e..5b80fea 100644
--- a/src/gpm-brightness-hal.c
+++ b/src/gpm-brightness-hal.c
@@ -441,6 +441,7 @@ gpm_brightness_hal_init (GpmBrightnessHal *brightness)
 	HalDevice *device;
 	gboolean res;
 	DBusGConnection *connection;
+	GError *error = NULL;
 
 	brightness->priv = GPM_BRIGHTNESS_HAL_GET_PRIVATE (brightness);
 	brightness->priv->proxy = NULL;



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