aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-layout-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-05-04 14:07:16 +0100
committerTed Gould <ted@canonical.com>2009-05-04 14:07:16 +0100
commit22e6abdd0a1bea1ee257da6eeb767228aeff212c (patch)
treedfca37685c8ad45eb1f72a9e19b42c14d786ca0a /tests/test-glib-layout-client.c
parentf1a04e66561c54fc3120239e2ee5a0240ab50656 (diff)
downloadlibdbusmenu-22e6abdd0a1bea1ee257da6eeb767228aeff212c.tar.gz
libdbusmenu-22e6abdd0a1bea1ee257da6eeb767228aeff212c.tar.bz2
libdbusmenu-22e6abdd0a1bea1ee257da6eeb767228aeff212c.zip
Some timers to get things lined up correctly and other little
cleanups to stop breaking this.
Diffstat (limited to 'tests/test-glib-layout-client.c')
-rw-r--r--tests/test-glib-layout-client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-glib-layout-client.c b/tests/test-glib-layout-client.c
index e6fc1ba..bc8eb2c 100644
--- a/tests/test-glib-layout-client.c
+++ b/tests/test-glib-layout-client.c
@@ -23,7 +23,9 @@ main (int argc, char ** argv)
{
g_type_init();
- DbusmenuClient * client = dbusmenu_client_new(":1.1", "/org/test");
+ g_usleep(10000);
+
+ DbusmenuClient * client = dbusmenu_client_new(":1.0", "/org/test");
g_timeout_add_seconds(2, timer_func, client);