summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am3
-rw-r--r--test/mdock-standalone.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 6ac6987..65d5220 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,8 +1,5 @@
noinst_PROGRAMS = mdock-standalone
-AM_CPPFLAGS = $(GTK_CFLAGS)
-AM_LDFLAGS = $(GTK_LIBS)
-
mdock_standalone_SOURCES = mdock-standalone.c
mdock_standalone_CPPFLAGS = $(GTK_CFLAGS)
mdock_standalone_LDADD = $(GTK_LIBS) ../libmdock/libmdock.la
diff --git a/test/mdock-standalone.c b/test/mdock-standalone.c
index e164bea..fee91a6 100644
--- a/test/mdock-standalone.c
+++ b/test/mdock-standalone.c
@@ -34,7 +34,6 @@ static void construct_main_window()
int main(int argc, char **argv)
{
gtk_init(&argc, &argv);
- gtk_main();
construct_main_window();
@@ -42,5 +41,7 @@ int main(int argc, char **argv)
gtk_widget_show_all(GTK_WIDGET(mainwin));
+ gtk_main();
+
return EXIT_SUCCESS;
}