[atk/ebassi/atk-2-38: 11/12] Do not use deprecated Meson API




commit 6cb2486bb42729223db601ecbaac08ab0ff36f03
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Mar 24 12:11:24 2022 +0000

    Do not use deprecated Meson API
    
    And follow more idiomatic patterns for paths.

 docs/meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index d6b9c8a..1e491e3 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -5,9 +5,9 @@ private_headers = [
   'atkintl.h',
 ]
 
-glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
-glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
-docpath = join_paths(atk_datadir, 'gtk-doc', 'html')
+glib_prefix = dependency('glib-2.0').get_variable(pkgconfig: 'prefix')
+glib_docpath = glib_prefix / 'share/gtk-doc/html'
+docpath = atk_datadir / 'gtk-doc/html'
 
 gnome.gtkdoc('atk',
   main_xml: 'atk-docs.xml',


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