aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-05-10 22:15:37 -0500
committerTed Gould <ted@canonical.com>2009-05-10 22:15:37 -0500
commit3c7a5751473ef1c92de1aff135dd055bda05257e (patch)
treeb09f1ef7848a03c796c69e3a4e71f2192e9f3b1f /tests
parentf2cd48dd391855a6f4304038459effd5c6463884 (diff)
downloadlibdbusmenu-3c7a5751473ef1c92de1aff135dd055bda05257e.tar.gz
libdbusmenu-3c7a5751473ef1c92de1aff135dd055bda05257e.tar.bz2
libdbusmenu-3c7a5751473ef1c92de1aff135dd055bda05257e.zip
Fixing going into the recursive submenus
Diffstat (limited to 'tests')
-rw-r--r--tests/test-glib-layout-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-glib-layout-client.c b/tests/test-glib-layout-client.c
index 6086c7f..2099cd5 100644
--- a/tests/test-glib-layout-client.c
+++ b/tests/test-glib-layout-client.c
@@ -35,7 +35,7 @@ verify_root_to_layout(DbusmenuMenuitem * mi, layout_t * layout)
guint i = 0;
for (i = 0; children != NULL && layout[i].id != 0; children = g_list_next(children), i++) {
- if (!verify_root_to_layout(DBUSMENU_MENUITEM(children->data), &layout[i])) {
+ if (!verify_root_to_layout(DBUSMENU_MENUITEM(children->data), &layout->submenu[i])) {
return FALSE;
}
}