meson: examples: update

Mostly style changes. Don't create resource source files
with spaces in them, that's tempting our luck.
This commit is contained in:
Tim-Philipp Müller
2017-03-12 20:13:10 +00:00
committed by Emmanuele Bassi
parent d276cd47a5
commit 3ac88fa6b6
13 changed files with 64 additions and 190 deletions

View File

@@ -1,4 +1,5 @@
#include <gtk/gtk.h>
#include <glib/gstdio.h>
static void
print_hello (GtkWidget *widget,
@@ -15,6 +16,10 @@ main (int argc,
GObject *window;
GObject *button;
#ifdef GTK_SRCDIR
g_chdir (GTK_SRCDIR);
#endif
gtk_init ();
/* Construct a GtkBuilder instance and load our UI description */