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:
committed by
Emmanuele Bassi
parent
d276cd47a5
commit
3ac88fa6b6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user