[gnome-software] trivial: Don't show the current release in the update description



commit f2d4f11a2a14545821ea1e9eb93b37e6ae060fe8
Author: Richard Hughes <richard hughsie com>
Date:   Thu Aug 18 10:37:23 2016 +0100

    trivial: Don't show the current release in the update description

 src/plugins/gs-appstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-appstream.c b/src/plugins/gs-appstream.c
index ff9dcad..df2d91c 100644
--- a/src/plugins/gs-appstream.c
+++ b/src/plugins/gs-appstream.c
@@ -361,7 +361,7 @@ gs_appstream_refine_app_updates (GsPlugin *plugin,
                         as_release_get_version (rel),
                         as_release_get_state (rel));
                if (as_utils_vercmp (as_release_get_version (rel),
-                                    gs_app_get_version (app)) < 0)
+                                    gs_app_get_version (app)) <= 0)
                        continue;
 
                /* use the 'worst' urgency, e.g. critical over enhancement */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]