[Spice-commits] gtk/spice-version.h.in

Fabiano FidĂȘncio fidencio at kemper.freedesktop.org
Wed Oct 29 03:08:04 PDT 2014


 gtk/spice-version.h.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d89c46a6f22afefdd78f612ca6d7517a205ad05b
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Mon Oct 27 17:35:33 2014 +0100

    Fix macro for checking spice version numbers
    
    As it is for now, the micro number is never checked.

diff --git a/gtk/spice-version.h.in b/gtk/spice-version.h.in
index fbef265..4276a23 100644
--- a/gtk/spice-version.h.in
+++ b/gtk/spice-version.h.in
@@ -62,7 +62,7 @@
  */
 #define SPICE_GTK_CHECK_VERSION(major, minor, micro)                    \
         (SPICE_GTK_MAJOR_VERSION > (major) ||                           \
-         (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION >= (minor)) || \
+         (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION > (minor)) || \
          (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION == (minor) && \
           SPICE_GTK_MICRO_VERSION >= (micro)))
 


More information about the Spice-commits mailing list