aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-layout-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-glib-layout-client.c')
-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;
}
}