aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-06-24 13:57:46 -0500
committerTed Gould <ted@gould.cx>2013-06-24 13:57:46 -0500
commit58302addf847ad32da98f7c2eb3c2e8be98ba01a (patch)
tree14be7b5b673dc5a98507185dc565f1cc3b0d933c
parent227d546f09e93f955b1478aa1af1c8080895d5e3 (diff)
downloadlibdbusmenu-58302addf847ad32da98f7c2eb3c2e8be98ba01a.tar.gz
libdbusmenu-58302addf847ad32da98f7c2eb3c2e8be98ba01a.tar.bz2
libdbusmenu-58302addf847ad32da98f7c2eb3c2e8be98ba01a.zip
Prolong our death
-rw-r--r--tests/test-glib-proxy-client.c4
-rw-r--r--tests/test-glib-proxy-server.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c
index 8f760a2..c8d4ded 100644
--- a/tests/test-glib-proxy-client.c
+++ b/tests/test-glib-proxy-client.c
@@ -143,7 +143,7 @@ layout_verify_timer (gpointer data)
} else {
/* Extend our death */
g_source_remove(death_timer);
- death_timer = g_timeout_add_seconds(4, timer_func, data);
+ death_timer = g_timeout_add_seconds(10, timer_func, data);
}
if (layouts[layouton+1].id == -1) {
@@ -162,7 +162,7 @@ main (int argc, char ** argv)
DbusmenuClient * client = dbusmenu_client_new("test.proxy.first_proxy", "/org/test");
g_signal_connect(G_OBJECT(client), DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED, G_CALLBACK(layout_updated), NULL);
- death_timer = g_timeout_add_seconds(4, timer_func, client);
+ death_timer = g_timeout_add_seconds(10, timer_func, client);
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);
diff --git a/tests/test-glib-proxy-server.c b/tests/test-glib-proxy-server.c
index 6823cec..70ffd08 100644
--- a/tests/test-glib-proxy-server.c
+++ b/tests/test-glib-proxy-server.c
@@ -95,7 +95,7 @@ layout_change (DbusmenuMenuitem * oldroot, guint timestamp, gpointer data)
if (death_timer != 0) {
g_source_remove(death_timer);
}
- death_timer = g_timeout_add_seconds(4, timer_func, data);
+ death_timer = g_timeout_add_seconds(10, timer_func, data);
return;
}