[vte] build: Change gtk4 GIR version hack



commit edaca046502c02a4b2e247bebae3f69f3ecb6ebd
Author: Christian Persch <chpe src gnome org>
Date:   Tue Feb 8 20:53:03 2022 +0100

    build: Change gtk4 GIR version hack
    
    Seems gjs has a problem with this, so use a diffferent character.
    
    Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2539

 bindings/gir/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bindings/gir/meson.build b/bindings/gir/meson.build
index d5f77fc6..c45c6f76 100644
--- a/bindings/gir/meson.build
+++ b/bindings/gir/meson.build
@@ -51,7 +51,7 @@ if get_option('gtk4')
   # Ideally, the gir would be named something like "VteGtk4" instead,
   # but it seems that's not possible. So work around it using "Vte"
   # as namespace with this nsversion hack:
-  gir_nsversion_gtk4 = '4:' + vte_api_version
+  gir_nsversion_gtk4 = '4-' + vte_api_version
 
   libvte_gtk4_gir = gnome.generate_gir(
     libvte_gtk4,


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