aboutsummaryrefslogtreecommitdiff
path: root/tests/test-gtk-reorder-server.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-05 09:57:59 -0400
committerTed Gould <ted@canonical.com>2009-10-05 09:57:59 -0400
commitfc94d1e23d37901d6aebc2e48abde37814512286 (patch)
tree721a9a1a6c7acd7aee27502633b75971118fbbf1 /tests/test-gtk-reorder-server.c
parent486c45ab42e2741d82594af5f5d982266c64f327 (diff)
downloadlibdbusmenu-fc94d1e23d37901d6aebc2e48abde37814512286.tar.gz
libdbusmenu-fc94d1e23d37901d6aebc2e48abde37814512286.tar.bz2
libdbusmenu-fc94d1e23d37901d6aebc2e48abde37814512286.zip
Make the item use the correct label
Diffstat (limited to 'tests/test-gtk-reorder-server.c')
-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++;