[gedit] build: replace files() by an array



commit 7461bfc3a7d73d5ae7db7ef4077fe18e73f65291
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu May 7 05:46:36 2020 +0200

    build: replace files() by an array

 gedit/meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/meson.build b/gedit/meson.build
index e1d2a0792..4e910e5e2 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -125,10 +125,10 @@ libgedit_deps = [
 ]
 
 if host_machine.system() == 'darwin'
-  libgedit_sources += files(
+  libgedit_sources += [
     'gedit-app-osx.m',
     'gedit-file-chooser-dialog-osx.m',
-  )
+  ]
   libgedit_c_args += [
     '-DOS_OSX=1',
   ]
@@ -140,9 +140,9 @@ if host_machine.system() == 'darwin'
     dependency('gtk-mac-integration-gtk3'),
   ]
 elif host_machine.system() == 'windows'
-  libgedit_sources += files(
+  libgedit_sources += [
     'gedit-app-win32.c',
-  )
+  ]
 endif
 
 libgedit_enums = gnome.mkenums_simple(


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