[gnome-packagekit] trivial: fix a typo in the last commit



commit de03e293ae33840b02f8f640ccf5721f082a1b86
Author: Richard Hughes <richard hughsie com>
Date:   Mon Feb 8 13:56:23 2010 +0000

    trivial: fix a typo in the last commit

 src/gpk-check-update.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-check-update.c b/src/gpk-check-update.c
index 6b87c9e..2bab01c 100644
--- a/src/gpk-check-update.c
+++ b/src/gpk-check-update.c
@@ -892,7 +892,8 @@ gpk_check_update_get_updates_finished_cb (GObject *object, GAsyncResult *res, Gp
 	for (i=0; i<array->len; i++) {
 		item = g_ptr_array_index (array, i);
 		if (pk_package_get_info (item) != PK_INFO_ENUM_SECURITY)
-			g_ptr_array_add (security_array, g_strdup (pk_package_get_id (item)));
+			continue;
+		g_ptr_array_add (security_array, g_strdup (pk_package_get_id (item)));
 	}
 
 	/* work out icon (cannot be NULL) */



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