[gnome-settings-daemon] power: Do not exit gnome-settings-daemon if upower fails to load



commit 79acde1a8f402ffc1c0e1afec196928f8e1164f5
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 30 08:46:40 2011 +0100

    power: Do not exit gnome-settings-daemon if upower fails to load

 plugins/power/gsd-power-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index ed88853..f983890 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -1079,7 +1079,7 @@ engine_coldplug (GsdPowerManager *manager)
         /* get devices from UPower */
         ret = up_client_enumerate_devices_sync (manager->priv->up_client, NULL, &error);
         if (!ret) {
-                g_error ("failed to get device list: %s", error->message);
+                g_warning ("failed to get device list: %s", error->message);
                 g_error_free (error);
                 goto out;
         }



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