[glib] build: Remove incorrect to_int() calls in meson.build



commit 04b3ce7255b9b6a41fbd84ac5fb67566a01f0c92
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Feb 12 12:28:28 2018 +0000

    build: Remove incorrect to_int() calls in meson.build
    
    They’re called on assignment to these variables.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793288

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 3c0b63d02..228e7d787 100644
--- a/meson.build
+++ b/meson.build
@@ -1649,8 +1649,8 @@ if want_systemtap and enable_dtrace
   endif
   stp_cdata = configuration_data()
   stp_cdata.set('ABS_GLIB_RUNTIME_LIBDIR', glib_libdir)
-  stp_cdata.set('LT_CURRENT', minor_version.to_int() * 100)
-  stp_cdata.set('LT_REVISION', micro_version.to_int())
+  stp_cdata.set('LT_CURRENT', minor_version * 100)
+  stp_cdata.set('LT_REVISION', micro_version)
   enable_systemtap = true
 endif
 


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