[Xfce4-commits] <midori:master> Fix MIDORI_*_VERSION to be integers

Christian Dywan noreply at xfce.org
Sun Mar 17 10:02:01 CET 2013


Updating branch refs/heads/master
         to 675ad347863c3e2bef8d9d2b745086acfb22c5cc (commit)
       from 300a1e901fcb7b66521681f18e54866a26d57500 (commit)

commit 675ad347863c3e2bef8d9d2b745086acfb22c5cc
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Mar 17 09:20:17 2013 +0100

    Fix MIDORI_*_VERSION to be integers

 wscript |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/wscript b/wscript
index 47502dc..fa4264e 100644
--- a/wscript
+++ b/wscript
@@ -338,9 +338,9 @@ def configure (conf):
 
     conf.define ('MIDORI_VERSION', VERSION)
     major, minor, micro = VERSION.split ('.', 2)
-    conf.define ('MIDORI_MAJOR_VERSION', major)
-    conf.define ('MIDORI_MINOR_VERSION', minor)
-    conf.define ('MIDORI_MICRO_VERSION', micro)
+    conf.define ('MIDORI_MAJOR_VERSION', int (major))
+    conf.define ('MIDORI_MINOR_VERSION', int (minor))
+    conf.define ('MIDORI_MICRO_VERSION', int (micro))
 
     conf.env.append_value ('CCFLAGS', '-DHAVE_CONFIG_H -include config.h'.split ())
     debug_level = Options.options.debug_level


More information about the Xfce4-commits mailing list