[gedit/zbrown/deteplification-src: 317/633] build: change a list of files() into an array




commit 1e28632793f9d6cf78f3024865420a2ad9b8ccf1
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu May 7 04:37:20 2020 +0200

    build: change a list of files() into an array
    
    The variables are not used in other meson.build files, and when using
    the variables to build some targets there are also checks to ensure that
    the files exist.

 gedit/meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/meson.build b/gedit/meson.build
index 1c95a55c7..863d68a39 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -1,4 +1,4 @@
-libgedit_public_headers = files(
+libgedit_public_headers = [
   'gedit-app-activatable.h',
   'gedit-app.h',
   'gedit-commands.h',
@@ -16,7 +16,7 @@ libgedit_public_headers = files(
   'gedit-view.h',
   'gedit-window-activatable.h',
   'gedit-window.h',
-)
+]
 
 libgedit_private_headers = [
   'gedit-app-osx.h',
@@ -59,7 +59,7 @@ libgedit_private_headers = [
   'gedit-window-private.h',
 ]
 
-libgedit_sources = files(
+libgedit_sources = [
   'gedit-app-activatable.c',
   'gedit-app.c',
   'gedit-close-confirmation-dialog.c',
@@ -115,7 +115,7 @@ libgedit_sources = files(
   'gedit-view-frame.c',
   'gedit-window-activatable.c',
   'gedit-window.c',
-)
+]
 
 libgedit_c_args = []
 libgedit_link_args = []


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