[gnome-software] packagekit-refine: filter by architecture too



commit c45b0378787d0aa2aa8ca7fd115c9f8edb4d862f
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Mon Sep 2 15:58:53 2013 +0200

    packagekit-refine: filter by architecture too
    
    This way we make sure to only get one result for our call.

 src/plugins/gs-plugin-packagekit-refine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index a8c17bb..4512fa9 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -144,7 +144,7 @@ gs_plugin_packagekit_refine_package (GsPlugin      *plugin,
 
        to_array[0] = package_name;
        results = pk_client_resolve (plugin->priv->client,
-                                    pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST, -1),
+                                    pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST, PK_FILTER_ENUM_ARCH, -1),
                                     (gchar **) to_array,
                                     cancellable,
                                     gs_plugin_packagekit_progress_cb, plugin,


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