[gnome-color-manager] trivial: fix a tiny typo that we'll hit if we try to remove a non-saved virtual device



commit ce3c7dfd34061f9b1c57c06b1d374eec07993b7b
Author: Richard Hughes <richard hughsie com>
Date:   Wed Feb 24 10:18:47 2010 +0000

    trivial: fix a tiny typo that we'll hit if we try to remove a non-saved virtual device

 src/gcm-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-client.c b/src/gcm-client.c
index 6f3c4e2..feb17c0 100644
--- a/src/gcm-client.c
+++ b/src/gcm-client.c
@@ -906,7 +906,7 @@ gcm_client_delete_device (GcmClient *client, GcmDevice *device, GError **error)
 		goto out;
 
 	/* remove from the config file */
-	g_key_file_remove_group (keyfile, id, error);
+	ret = g_key_file_remove_group (keyfile, id, error);
 	if (!ret)
 		goto out;
 



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