summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-04-26 17:04:20 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-03 15:10:57 +0100
commit17518ef89bdc6af016c2f0811e5ba0f9c7cfcdca (patch)
tree6e14aee0181d2e6f4831abc2b859252511a1c22b /examples
parent1afd41558340053b7649aa01a1eb1fc5937a79b2 (diff)
downloadgtk+-17518ef89bdc6af016c2f0811e5ba0f9c7cfcdca.tar.gz
build: Improve consistency of the "coding" style
We're mixing a lot of styles in the Meson build files. This is an attempt at making everything slightly more consistent in terms of whitespace and indentation.
Diffstat (limited to 'examples')
-rw-r--r--examples/bp/meson.build4
-rw-r--r--examples/meson.build10
2 files changed, 8 insertions, 6 deletions
diff --git a/examples/bp/meson.build b/examples/bp/meson.build
index 5bf9b5d851..0b401aca79 100644
--- a/examples/bp/meson.build
+++ b/examples/bp/meson.build
@@ -1,5 +1,5 @@
bp_resources = gnome.compile_resources('bloatpad_resources',
- 'bloatpad.gresources.xml',
- source_dir: '.')
+ 'bloatpad.gresources.xml',
+ source_dir: '.')
executable('bloatpad', 'bloatpad.c', bp_resources, dependencies: libgtk_dep)
diff --git a/examples/meson.build b/examples/meson.build
index 09dc1bb5c1..b5c28634ea 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -13,10 +13,12 @@ foreach ex : examples
# TODO: name clash with testsuite/gtk/builder, rename one of the two
example_name = ex == 'builder' ? 'builder_example' : ex
executable(example_name, '@0@.c'.format(ex),
- c_args : ['-DGDK_DISABLE_DEPRECATED',
- '-DGTK_DISABLE_DEPRECATED',
- '-DGTK_SRCDIR="@0@"'.format(meson.current_source_dir())],
- dependencies: libgtk_dep)
+ c_args: [
+ '-DGDK_DISABLE_DEPRECATED',
+ '-DGTK_DISABLE_DEPRECATED',
+ '-DGTK_SRCDIR="@0@"'.format(meson.current_source_dir()),
+ ],
+ dependencies: libgtk_dep)
endforeach
subdir('bp')