From 58302addf847ad32da98f7c2eb3c2e8be98ba01a Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 24 Jun 2013 13:57:46 -0500 Subject: Prolong our death --- tests/test-glib-proxy-client.c | 4 ++-- tests/test-glib-proxy-server.c | 2 +- 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; } -- cgit v1.2.3