aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-25 11:52:24 -0500
committerTed Gould <ted@gould.cx>2010-03-25 11:52:24 -0500
commitb4e1960a63155f595b51338166aa6810ed9f78b6 (patch)
tree6f738cd9df0d858cf7639ac88214b4d05ee952a4 /tests
parent275909f841eea51625bbe418899a3acd5b47bdbf (diff)
downloadayatana-indicator-application-b4e1960a63155f595b51338166aa6810ed9f78b6.tar.gz
ayatana-indicator-application-b4e1960a63155f595b51338166aa6810ed9f78b6.tar.bz2
ayatana-indicator-application-b4e1960a63155f595b51338166aa6810ed9f78b6.zip
Fixing tests to use GTK for icon theme fixes.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/test-libappindicator.c2
2 files changed, 2 insertions, 1 deletions
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 */