bloatpad: Pass common_cflags to the build
authorTimm Bäder <mail@baedert.org>
Mon, 18 May 2020 11:37:23 +0000 (13:37 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 19 May 2020 06:32:33 +0000 (08:32 +0200)
examples/bp/bloatpad.c
examples/bp/meson.build

index 598e1fdbf0f852f5cf3079d923a54a3c7f114b22..21fdfc98d9f4cabdbf5a3b41bc422ca91cc23879 100644 (file)
@@ -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
index 0b401aca791b1ef65182f46205ed7c882331d97e..b884d6ba5985badff0341b754fc7ffad284fe9f8 100644 (file)
@@ -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)