[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 286/331] Fix sending the wrong string to aptd InstallFile



commit 9a14e9d2a6cd8d90c14d3f957edf36a162111b06
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Apr 25 09:28:46 2016 +0200

    Fix sending the wrong string to aptd InstallFile

 src/plugins/gs-plugin-apt.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index d1074d4..9c9c805 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -906,7 +906,7 @@ gs_plugin_app_install (GsPlugin *plugin,
        case AS_APP_STATE_AVAILABLE_LOCAL:
                gs_app_set_state (app, AS_APP_STATE_INSTALLING);
                success = aptd_transaction (plugin, "InstallFile", app, NULL,
-                                           g_variant_new_parsed ("(%s, true)", gs_app_get_origin (app)),
+                                           g_variant_new_parsed ("(%s, true)", gs_app_get_source_default 
(app)),
                                            error);
                break;
        default:


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