aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-layout-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-07 08:55:35 -0600
committerTed Gould <ted@gould.cx>2010-01-07 08:55:35 -0600
commit5c4c4143a5ea25ec408304fdc7463709163ff9a7 (patch)
tree3aa13e9f2642980a0cec0ea2c964fd712ace905a /tests/test-glib-layout-client.c
parent5b6e880757549a514b90b74767716a7849191281 (diff)
downloadlibdbusmenu-5c4c4143a5ea25ec408304fdc7463709163ff9a7.tar.gz
libdbusmenu-5c4c4143a5ea25ec408304fdc7463709163ff9a7.tar.bz2
libdbusmenu-5c4c4143a5ea25ec408304fdc7463709163ff9a7.zip
Removing the half second timeout as it's no longer needed.
Diffstat (limited to 'tests/test-glib-layout-client.c')
-rw-r--r--tests/test-glib-layout-client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-glib-layout-client.c b/tests/test-glib-layout-client.c
index a7dd683..bb2d13a 100644
--- a/tests/test-glib-layout-client.c
+++ b/tests/test-glib-layout-client.c
@@ -109,9 +109,7 @@ main (int argc, char ** argv)
{
g_type_init();
- g_usleep(500000);
-
- DbusmenuClient * client = dbusmenu_client_new(":1.0", "/org/test");
+ DbusmenuClient * client = dbusmenu_client_new("org.dbusmenu.test", "/org/test");
g_signal_connect(G_OBJECT(client), DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED, G_CALLBACK(layout_updated), NULL);
g_timeout_add_seconds(10, timer_func, client);