[gnome-packagekit] trivial: fix up make check after PK commit a6a527f8e117d3b8758a30975e87931b8f75d9d5
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] trivial: fix up make check after PK commit a6a527f8e117d3b8758a30975e87931b8f75d9d5
- Date: Tue, 21 Jun 2011 09:55:59 +0000 (UTC)
commit 93a43590b8013935ceb9f2d42f55fdf79f763b64
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 21 10:54:09 2011 +0100
trivial: fix up make check after PK commit a6a527f8e117d3b8758a30975e87931b8f75d9d5
src/gpk-modal-dialog.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-modal-dialog.c b/src/gpk-modal-dialog.c
index 455cba4..10e7b57 100644
--- a/src/gpk-modal-dialog.c
+++ b/src/gpk-modal-dialog.c
@@ -920,6 +920,7 @@ gpk_modal_dialog_test (EggTest *test)
GpkModalDialog *dialog = NULL;
GPtrArray *array;
PkPackage *item;
+ gboolean ret;
if (!egg_test_start (test, "GpkModalDialog"))
return;
@@ -935,16 +936,18 @@ gpk_modal_dialog_test (EggTest *test)
/* set some packages */
array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);
item = pk_package_new ();
+ ret = pk_package_set_id (item, "totem;001;i386;fedora", NULL);
+ g_assert (ret);
g_object_set (item,
"info", PK_INFO_ENUM_INSTALLED,
- "package-id", "totem;001;i386;fedora",
"summary", "Totem is a music player for GNOME",
NULL);
g_ptr_array_add (array, item);
item = pk_package_new ();
+ ret = pk_package_set_id (item, "totem;001;i386;fedora", NULL);
+ g_assert (ret);
g_object_set (item,
"info", PK_INFO_ENUM_AVAILABLE,
- "package-id", "totem;001;i386;fedora",
"summary", "Amarok is a music player for KDE",
NULL);
g_ptr_array_add (array, item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]