[gnome-color-manager/gdbus-complete] Moo



commit f5feedc7949c039e0e404dc2f673efacd5fb6bbd
Author: Richard Hughes <richard hughsie com>
Date:   Tue May 25 15:27:27 2010 +0100

    Moo

 src/gcm-session.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-session.c b/src/gcm-session.c
index 3469d0a..c796f68 100644
--- a/src/gcm-session.c
+++ b/src/gcm-session.c
@@ -779,8 +779,9 @@ main (int argc, char *argv[])
 	/* get all saved devices */
 	ret = gcm_client_add_saved (client, &error);
 	if (!ret) {
-		egg_warning ("failed to coldplug: %s", error->message);
-		g_error_free (error);
+		egg_warning ("failed to add saved devices: %s", error->message);
+		g_clear_error (&error);
+		/* non-fatal */
 	}
 
 	/* get all connected devices */
@@ -789,6 +790,7 @@ main (int argc, char *argv[])
 		egg_warning ("failed to coldplug: %s", error->message);
 		g_error_free (error);
 	}
+
 	/* create new objects */
 	loop = g_main_loop_new (NULL, FALSE);
 



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