[gnome-software/gnome-3-30] trivial: Drop an ifdef now that we depend on new enough appstream-glib
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-30] trivial: Drop an ifdef now that we depend on new enough appstream-glib
- Date: Thu, 29 Nov 2018 20:25:13 +0000 (UTC)
commit 10b6d38ec199628c3584c50628bc344ce628edd0
Author: Kalev Lember <klember redhat com>
Date: Thu Nov 29 21:24:03 2018 +0100
trivial: Drop an ifdef now that we depend on new enough appstream-glib
plugins/core/gs-plugin-appstream.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index 2fe091d0..b28b84ac 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -511,7 +511,6 @@ gs_plugin_refine_wildcard (GsPlugin *plugin,
g_autoptr(GsApp) new = NULL;
/* is compatible */
-#if AS_CHECK_VERSION(0,7,8)
if (!as_utils_unique_id_match (gs_app_get_unique_id (app),
as_app_get_unique_id (item),
AS_UNIQUE_ID_MATCH_FLAG_SCOPE |
@@ -526,13 +525,6 @@ gs_plugin_refine_wildcard (GsPlugin *plugin,
as_app_get_unique_id (item));
continue;
}
-#else
- if (!as_utils_unique_id_equal (gs_app_get_unique_id (app),
- as_app_get_unique_id (item))) {
- g_debug ("does not match unique ID constraints");
- continue;
- }
-#endif
/* does the app have an installation method */
if (as_app_get_pkgname_default (item) == NULL &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]