[gnome-packagekit] trivial: remove the critical warnings at startup if completions are enabled



commit f03c47f2d67f17fb2a49e86fa0515befec10b0a0
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 19 16:17:42 2011 +0100

    trivial: remove the critical warnings at startup if completions are enabled

 src/gpk-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-common.c b/src/gpk-common.c
index 45c91c9..d374270 100644
--- a/src/gpk-common.c
+++ b/src/gpk-common.c
@@ -684,9 +684,9 @@ gpk_package_entry_completion_get_names_from_file (const gchar *filename)
 		if (g_strv_length (split) != 3)
 			continue;
 		item = pk_package_new ();
+		pk_package_set_id (item, split[1], NULL);
 		g_object_set (item,
 			      "info", pk_info_enum_from_string (split[0]),
-			      "package-id", split[1],
 			      "summary", split[2],
 			      NULL);
 		g_ptr_array_add (array, item);



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