diff options
author | Ted Gould <ted@gould.cx> | 2010-02-10 15:09:33 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-10 15:09:33 -0600 |
commit | a151474f523c222f508f9164a2e33e29f048ab2e (patch) | |
tree | d8d4cbbdfca0fbeadf41486c5b029a6fabc49e2c /tests | |
parent | 83c4c2b3a38f642b3fd0af7e9685ce3682e178d1 (diff) | |
download | libdbusmenu-a151474f523c222f508f9164a2e33e29f048ab2e.tar.gz libdbusmenu-a151474f523c222f508f9164a2e33e29f048ab2e.tar.bz2 libdbusmenu-a151474f523c222f508f9164a2e33e29f048ab2e.zip |
Can't verify IDs because the proxy scrambles them (and that's okay).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-glib-proxy-client.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c index b1caaad..03b850d 100644 --- a/tests/test-glib-proxy-client.c +++ b/tests/test-glib-proxy-client.c @@ -59,13 +59,6 @@ verify_root_to_layout(DbusmenuMenuitem * mi, proplayout_t * layout) { g_debug("Verifying ID: %d", layout->id); - if (layout->id != dbusmenu_menuitem_get_id(mi)) { - if (!dbusmenu_menuitem_get_root(mi)) { - g_debug("\tFailed as ID %d is not equal to %d", layout->id, dbusmenu_menuitem_get_id(mi)); - return FALSE; - } - } - if (!verify_props(mi, layout->properties)) { g_debug("\tFailed as unable to verify properties."); return FALSE; @@ -121,7 +114,7 @@ static void layout_updated (DbusmenuClient * client, gpointer data) { g_debug("Layout Updated"); - g_timeout_add (250, layout_verify_timer, client); + g_timeout_add (500, layout_verify_timer, client); return; } |