From 3c7a5751473ef1c92de1aff135dd055bda05257e Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sun, 10 May 2009 22:15:37 -0500 Subject: Fixing going into the recursive submenus --- tests/test-glib-layout-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-glib-layout-client.c') 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; } } -- cgit v1.2.3