aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-gtk-reorder-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-gtk-reorder-server.c b/tests/test-gtk-reorder-server.c
index 2fd9bf7..eee9bb8 100644
--- a/tests/test-gtk-reorder-server.c
+++ b/tests/test-gtk-reorder-server.c
@@ -66,7 +66,7 @@ timer_func (gpointer data)
for (i = 0; i < NUMBER_ENTRIES; i++) {
g_debug("Putting entry '%d' at position '%d'", i, ordering[test][i]);
dbusmenu_menuitem_child_reorder(root, entries[i], ordering[test][i]);
- dbusmenu_menuitem_property_set(entries[i], "label", names[i]);
+ dbusmenu_menuitem_property_set(entries[i], "label", names[ordering[test][i]]);
}
test++;