aboutsummaryrefslogtreecommitdiff
path: root/tests/test-desktop-shortcuts.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-16 22:21:29 -0600
committerTed Gould <ted@gould.cx>2010-02-16 22:21:29 -0600
commitb10dd199a267842284f9baaf9e6e065ed9bad109 (patch)
treef2df5901a759ad5dacfec0d89227a078771797ee /tests/test-desktop-shortcuts.c
parentb0e8d1c61b0558f67478e51dd680cd00f87baee2 (diff)
downloadlibayatana-indicator-b10dd199a267842284f9baaf9e6e065ed9bad109.tar.gz
libayatana-indicator-b10dd199a267842284f9baaf9e6e065ed9bad109.tar.bz2
libayatana-indicator-b10dd199a267842284f9baaf9e6e065ed9bad109.zip
Using the nick directly to make this work better.
Diffstat (limited to 'tests/test-desktop-shortcuts.c')
-rw-r--r--tests/test-desktop-shortcuts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-desktop-shortcuts.c b/tests/test-desktop-shortcuts.c
index a7b57d3..a4e767a 100644
--- a/tests/test-desktop-shortcuts.c
+++ b/tests/test-desktop-shortcuts.c
@@ -100,9 +100,9 @@ test_desktop_shortcuts_launch (void)
g_assert(ids != NULL);
const gchar ** nicks = indicator_desktop_shortcuts_get_nicks(ids);
- g_assert(nicks[0] != NULL);
+ g_assert(nicks != NULL);
- g_assert(indicator_desktop_shortcuts_nick_exec(ids, nicks[0]));
+ g_assert(indicator_desktop_shortcuts_nick_exec(ids, "touch"));
g_assert(g_file_test("test-desktop-shortcuts-touch-test", G_FILE_TEST_EXISTS));
g_object_unref(ids);