diff options
author | Ted Gould <ted@gould.cx> | 2010-03-25 11:52:24 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-25 11:52:24 -0500 |
commit | b4e1960a63155f595b51338166aa6810ed9f78b6 (patch) | |
tree | 6f738cd9df0d858cf7639ac88214b4d05ee952a4 | |
parent | 275909f841eea51625bbe418899a3acd5b47bdbf (diff) | |
download | ayatana-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.
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/test-libappindicator.c | 2 |
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 */ |