From b4e1960a63155f595b51338166aa6810ed9f78b6 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 25 Mar 2010 11:52:24 -0500 Subject: Fixing tests to use GTK for icon theme fixes. --- tests/Makefile.am | 1 + tests/test-libappindicator.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index d42ed2b..d3b18d8 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -143,6 +143,7 @@ HTML_REPORT = libappindicator-check-results.html libappindicator-tests: libappindicator-tests-gtester Makefile.am @echo "#!/bin/sh" > $@ + @echo . $(srcdir)/run-xvfb.sh >> $@ @echo $(DBUS_RUNNER) --task ./libappindicator-tests-gtester >> $@ @chmod +x $@ diff --git a/tests/test-libappindicator.c b/tests/test-libappindicator.c index 896782d..c987a8f 100644 --- a/tests/test-libappindicator.c +++ b/tests/test-libappindicator.c @@ -176,7 +176,7 @@ test_libappindicator_props_suite (void) gint main (gint argc, gchar * argv[]) { - g_type_init(); + gtk_init(&argc, &argv); g_test_init(&argc, &argv, NULL); /* Test suites */ -- cgit v1.2.3