[gnome-packagekit] Fix the gpk-application GetDepends and GetRequires calls
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Fix the gpk-application GetDepends and GetRequires calls
- Date: Sun, 26 Sep 2010 07:36:35 +0000 (UTC)
commit ece39ee15cd509c1e33015ee4a5935cc417d69e4
Author: Richard Hughes <richard hughsie com>
Date: Tue Sep 14 13:16:46 2010 +0100
Fix the gpk-application GetDepends and GetRequires calls
src/gpk-application.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 40207f9..919d7a6 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -1011,7 +1011,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);
@@ -1134,7 +1135,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]