[gnome-software/wip/temp/ubuntu-xenial-rebased: 286/326] Fix sending the wrong string to aptd InstallFile
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 286/326] Fix sending the wrong string to aptd InstallFile
- Date: Fri, 29 Apr 2016 10:11:24 +0000 (UTC)
commit 8a22f6b41008212a99247f615dd5d85d234cc998
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]