diff options
author | Ted Gould <ted@canonical.com> | 2009-05-10 22:15:37 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-05-10 22:15:37 -0500 |
commit | 3c7a5751473ef1c92de1aff135dd055bda05257e (patch) | |
tree | b09f1ef7848a03c796c69e3a4e71f2192e9f3b1f /tests | |
parent | f2cd48dd391855a6f4304038459effd5c6463884 (diff) | |
download | libdbusmenu-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.c | 2 |
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; } } |