summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-05-18 13:37:23 +0200
committerTimm Bäder <mail@baedert.org>2020-05-19 08:32:33 +0200
commit17c7662a6c2f50b8f3b1f0813833c40f400044bf (patch)
treea3d529ece57f30034186b475917c0805ddfac8f3 /examples
parent14c3bc542d01b0ef2432dea7b708a9497e19b375 (diff)
downloadgtk+-17c7662a6c2f50b8f3b1f0813833c40f400044bf.tar.gz
bloatpad: Pass common_cflags to the build
Diffstat (limited to 'examples')
-rw-r--r--examples/bp/bloatpad.c1
-rw-r--r--examples/bp/meson.build2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/bp/bloatpad.c b/examples/bp/bloatpad.c
index 598e1fdbf0..21fdfc98d9 100644
--- a/examples/bp/bloatpad.c
+++ b/examples/bp/bloatpad.c
@@ -12,6 +12,7 @@ typedef struct
typedef GtkApplicationClass BloatPadClass;
+GType bloat_pad_get_type (void);
G_DEFINE_TYPE (BloatPad, bloat_pad, GTK_TYPE_APPLICATION)
static void
diff --git a/examples/bp/meson.build b/examples/bp/meson.build
index 0b401aca79..b884d6ba59 100644
--- a/examples/bp/meson.build
+++ b/examples/bp/meson.build
@@ -2,4 +2,4 @@ bp_resources = gnome.compile_resources('bloatpad_resources',
'bloatpad.gresources.xml',
source_dir: '.')
-executable('bloatpad', 'bloatpad.c', bp_resources, dependencies: libgtk_dep)
+executable('bloatpad', 'bloatpad.c', bp_resources, dependencies: libgtk_dep, c_args: common_cflags)