[gtk/wip/baedert/for-master: 10/12] bloatpad: Pass common_cflags to the build



commit 2c416bb77de6462f30b906bf9f4a97c38216a481
Author: Timm Bäder <mail baedert org>
Date:   Mon May 18 13:37:23 2020 +0200

    bloatpad: Pass common_cflags to the build

 examples/bp/bloatpad.c  | 1 +
 examples/bp/meson.build | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
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)


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