From 982498c637c6afc0eefca913d3fc875b93ec22cc Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sat, 6 Feb 2010 09:44:32 -0800 Subject: Making sure the client has time to setup. --- tests/test-libappindicator-status-server.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/test-libappindicator-status-server.c b/tests/test-libappindicator-status-server.c index c7a8ecd..9e58ba9 100644 --- a/tests/test-libappindicator-status-server.c +++ b/tests/test-libappindicator-status-server.c @@ -21,6 +21,7 @@ with this program. If not, see . */ +#include #include #include #include @@ -56,6 +57,8 @@ main (gint argc, gchar * argv[]) { g_type_init(); + g_usleep(100000); + g_debug("DBus ID: %s", dbus_connection_get_server_id(dbus_g_connection_get_connection(dbus_g_bus_get(DBUS_BUS_SESSION, NULL)))); AppIndicator * ci = app_indicator_new ("my-id", "my-icon-name", APP_INDICATOR_CATEGORY_APPLICATION_STATUS); -- cgit v1.2.3