[gnome-software] trivial: Drop an ifdef for PackageKit 1.0.4 support
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Drop an ifdef for PackageKit 1.0.4 support
- Date: Tue, 8 Sep 2015 16:20:53 +0000 (UTC)
commit 15262093339ac4845e5f0ce11d4d48be0f6aef41
Author: Kalev Lember <klember redhat com>
Date: Tue Sep 8 18:17:49 2015 +0200
trivial: Drop an ifdef for PackageKit 1.0.4 support
We already depend on 1.0.9; no need to keep the ifdef around any more.
src/plugins/gs-plugin-packagekit-refine.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index 861af53..4f1ec3c 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -188,7 +188,6 @@ gs_plugin_packagekit_resolve_packages_app (GsPlugin *plugin,
case PK_INFO_ENUM_AVAILABLE:
number_available++;
break;
-#if PK_CHECK_VERSION(1,0,4)
case PK_INFO_ENUM_UNAVAILABLE:
data = pk_package_get_data (package);
gs_plugin_packagekit_set_origin (plugin, app, data);
@@ -196,7 +195,6 @@ gs_plugin_packagekit_resolve_packages_app (GsPlugin *plugin,
gs_app_set_size (app, GS_APP_SIZE_MISSING);
number_available++;
break;
-#endif
default:
/* should we expect anything else? */
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]