[gnome-packagekit/gnome-2-32] Fix the gpk-application GetDepends and GetRequires calls



commit 7f5ef2365594cb75a0ccb191322bd3fb6eedcad0
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 14 13:16:46 2010 +0100

    Fix the gpk-application GetDepends and GetRequires calls

 RELEASE               |    2 +-
 src/gpk-application.c |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/RELEASE b/RELEASE
index 36bf87a..d0667c2 100644
--- a/RELEASE
+++ b/RELEASE
@@ -19,7 +19,7 @@ Released: 2010-xx-xx
 3. Commit changes in gnome-packagekit git:
 
 git commit -a -m "Release version 2.31.92"
-git tag -s GNOME_PACKAGEKIT_2_31_92 -m "==== Version 2.31.92 ===="
+git tag -s GNOME_PACKAGEKIT_2_31_92 -m "==== Version 2.31.9 ===="
 <wait>
 git push --tags
 git push
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 43a7a5a..e177c04 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -1005,7 +1005,8 @@ gpk_application_menu_requires_cb (GtkAction *action, GpkApplication *application
 
 	/* get the requires */
 	package_ids = pk_package_ids_from_id (package_id_selected);
-	pk_client_get_requires_async (PK_CLIENT(application->priv->task), PK_FILTER_ENUM_NONE,
+	pk_client_get_requires_async (PK_CLIENT(application->priv->task),
+				      pk_bitfield_value (PK_FILTER_ENUM_NONE),
 				      package_ids, TRUE, application->priv->cancellable,
 				      (PkProgressCallback) gpk_application_progress_cb, application,
 				      (GAsyncReadyCallback) gpk_application_get_requires_cb, application);
@@ -1128,7 +1129,8 @@ gpk_application_menu_depends_cb (GtkAction *action, GpkApplication *application)
 
 	/* get the depends */
 	package_ids = pk_package_ids_from_id (package_id_selected);
-	pk_client_get_depends_async (PK_CLIENT(application->priv->task), PK_FILTER_ENUM_NONE,
+	pk_client_get_depends_async (PK_CLIENT(application->priv->task),
+				     pk_bitfield_value (PK_FILTER_ENUM_NONE),
 				     package_ids, TRUE, application->priv->cancellable,
 				     (PkProgressCallback) gpk_application_progress_cb, application,
 				     (GAsyncReadyCallback) gpk_application_get_depends_cb, application);



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