aboutsummaryrefslogtreecommitdiff
path: root/tests/test-libappindicator-fallback-watcher.c
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2013-01-23 12:57:19 -0500
committerMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2013-01-23 12:57:19 -0500
commit1c9c770b6f15b6743997eb5a9c9c8d1faa57ebd7 (patch)
treee6070a75b148a3c49aaa29c4b2cefcc9c886072e /tests/test-libappindicator-fallback-watcher.c
parentee33a9adfc9c657c3be11a8bcaf25e687fdde026 (diff)
parent6a86412258be37bb971c41b8f0ebd0a19a1463d2 (diff)
downloadlibayatana-appindicator-1c9c770b6f15b6743997eb5a9c9c8d1faa57ebd7.tar.gz
libayatana-appindicator-1c9c770b6f15b6743997eb5a9c9c8d1faa57ebd7.tar.bz2
libayatana-appindicator-1c9c770b6f15b6743997eb5a9c9c8d1faa57ebd7.zip
resolve conflicts on acinclude.m4
Diffstat (limited to 'tests/test-libappindicator-fallback-watcher.c')
-rw-r--r--tests/test-libappindicator-fallback-watcher.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test-libappindicator-fallback-watcher.c b/tests/test-libappindicator-fallback-watcher.c
index 5494082..2648902 100644
--- a/tests/test-libappindicator-fallback-watcher.c
+++ b/tests/test-libappindicator-fallback-watcher.c
@@ -58,8 +58,6 @@ kill_func (gpointer userdata)
int
main (int argv, char ** argc)
{
- g_type_init();
-
g_debug("Waiting to init.");
@@ -77,6 +75,7 @@ main (int argv, char ** argc)
while (!has_owner && owner_count < 10000) {
org_freedesktop_DBus_name_has_owner(bus_proxy, "org.test", &has_owner, NULL);
owner_count++;
+ g_usleep(500000);
}
if (owner_count == 10000) {
@@ -104,7 +103,7 @@ main (int argv, char ** argc)
/* This is the final kill function. It really shouldn't happen
unless we get an error. */
- g_timeout_add(2000, kill_func, NULL);
+ g_timeout_add_seconds(20, kill_func, NULL);
g_debug("Entering Mainloop");