diff options
Diffstat (limited to 'tests/teststackedheaders.c')
-rw-r--r-- | tests/teststackedheaders.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/teststackedheaders.c b/tests/teststackedheaders.c index 830e9da761..c342d685ca 100644 --- a/tests/teststackedheaders.c +++ b/tests/teststackedheaders.c @@ -1,4 +1,5 @@ #include <gtk/gtk.h> +#include <glib/gstdio.h> static GtkWidget *header_stack; static GtkWidget *page_stack; @@ -23,6 +24,10 @@ main (int argc, char *argv[]) GtkBuilder *builder; GtkWidget *win; +#ifdef GTK_SRCDIR + g_chdir (GTK_SRCDIR); +#endif + gtk_init (); builder = gtk_builder_new (); |