[gnome-software/wip/temp/ubuntu-xenial-rebased: 295/326] Drop unused package_size
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 295/326] Drop unused package_size
- Date: Fri, 29 Apr 2016 10:12:09 +0000 (UTC)
commit c2a3522de59035fe15d1efc088d35396c9444418
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Apr 25 17:02:24 2016 +0200
Drop unused package_size
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 9c9c805..751ff4f 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -74,7 +74,6 @@ typedef struct {
gchar *release;
gchar *component;
gint installed_size;
- gint package_size;
} PackageInfo;
#include "ubuntu-unity-launcher-proxy.h"
@@ -388,11 +387,6 @@ look_at_pkg (const pkgCache::PkgIterator &P,
else
info->installed_size = 0;
- if (Tags.FindI ("Size") > 0)
- info->package_size = Tags.FindI ("Size");
- else
- info->package_size = 0;
-
if (current)
info->installed_version = g_strdup (current.VerStr ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]