diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2013-05-29 17:33:54 +0000 |
|---|---|---|
| committer | Tarmac <Unknown> | 2013-05-29 17:33:54 +0000 |
| commit | 8b78adad0845f4f0c2756ab5c801fbfec365086f (patch) | |
| tree | 03f281e37b8e139a929f3143c7a58abfced746d1 /tests/test-desktop-shortcuts.c | |
| parent | ab3b6ee20a8aa6a76372aa97747692750a77edc5 (diff) | |
| parent | 5c5f7780b413dccb4b55f30da70a433a6f400020 (diff) | |
| download | libayatana-indicator-8b78adad0845f4f0c2756ab5c801fbfec365086f.tar.gz libayatana-indicator-8b78adad0845f4f0c2756ab5c801fbfec365086f.tar.bz2 libayatana-indicator-8b78adad0845f4f0c2756ab5c801fbfec365086f.zip | |
tests: fix compilation and make check.
Approved by PS Jenkins bot, Mathieu Trudel-Lapierre.
Diffstat (limited to 'tests/test-desktop-shortcuts.c')
| -rw-r--r-- | tests/test-desktop-shortcuts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-desktop-shortcuts.c b/tests/test-desktop-shortcuts.c index 2e121fa..4f20d3e 100644 --- a/tests/test-desktop-shortcuts.c +++ b/tests/test-desktop-shortcuts.c @@ -125,7 +125,7 @@ test_desktop_shortcuts_launch (void) const gchar ** nicks = indicator_desktop_shortcuts_get_nicks(ids); g_assert(nicks_contains(nicks, "touch")); - g_assert(indicator_desktop_shortcuts_nick_exec(ids, "touch")); + g_assert(indicator_desktop_shortcuts_nick_exec_with_context(ids, "touch", NULL)); g_usleep(100000); g_assert(g_file_test(BUILD_DIR "/test-desktop-shortcuts-touch-test", G_FILE_TEST_EXISTS)); @@ -149,7 +149,6 @@ test_desktop_shortcuts_suite (void) int main (int argc, char ** argv) { - g_type_init (); g_test_init (&argc, &argv, NULL); gtk_init(&argc, &argv); |
