From 5c4c4143a5ea25ec408304fdc7463709163ff9a7 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 7 Jan 2010 08:55:35 -0600 Subject: Removing the half second timeout as it's no longer needed. --- tests/test-glib-layout-client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (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 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); -- cgit v1.2.3