[gnome-software/wip/ubuntu-zesty: 7/13] apt: Don't set origin multiple times
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-zesty: 7/13] apt: Don't set origin multiple times
- Date: Wed, 21 Dec 2016 16:33:06 +0000 (UTC)
commit d3312ed9d0dff300b2a984eeed1c12fd038dbe43
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Nov 8 10:22:03 2016 +1300
apt: Don't set origin multiple times
src/plugins/gs-plugin-apt.cc | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 5edd6c4..463242f 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -591,10 +591,6 @@ gs_plugin_refine_app (GsPlugin *plugin,
if (info == NULL)
return TRUE;
- origin = get_origin (info);
- gs_app_set_origin (app, origin);
- gs_app_set_origin_ui (app, info->origin);
-
if (gs_app_get_state (app) == AS_APP_STATE_UNKNOWN) {
if (info->installed_version != NULL) {
if (info->update_version != NULL) {
@@ -671,8 +667,6 @@ gs_plugin_add_installed (GsPlugin *plugin,
gs_app_set_management_plugin (app, "apt");
gs_app_set_name (app, GS_APP_QUALITY_LOWEST, info->name);
gs_app_add_source (app, info->name);
- gs_app_set_origin (app, origin);
- gs_app_set_origin_ui (app, info->origin);
gs_app_set_state (app, AS_APP_STATE_INSTALLED);
gs_app_list_add (list, app);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]