diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-12 13:56:52 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-12 13:56:52 +0200 |
commit | 5c5f7780b413dccb4b55f30da70a433a6f400020 (patch) | |
tree | a494ae90dc308e8ceaf36f3df4ca5e1aa847dd3a /tests/test-desktop-shortcuts.c | |
parent | 7f0c703a70b02b7c7724abb36d3bc1be8b613521 (diff) | |
download | libayatana-indicator-5c5f7780b413dccb4b55f30da70a433a6f400020.tar.gz libayatana-indicator-5c5f7780b413dccb4b55f30da70a433a6f400020.tar.bz2 libayatana-indicator-5c5f7780b413dccb4b55f30da70a433a6f400020.zip |
tests: fix compilation and make check.
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); |