diff options
author | Ted Gould <ted@gould.cx> | 2013-06-24 13:57:46 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2013-06-24 13:57:46 -0500 |
commit | 58302addf847ad32da98f7c2eb3c2e8be98ba01a (patch) | |
tree | 14be7b5b673dc5a98507185dc565f1cc3b0d933c | |
parent | 227d546f09e93f955b1478aa1af1c8080895d5e3 (diff) | |
download | libdbusmenu-58302addf847ad32da98f7c2eb3c2e8be98ba01a.tar.gz libdbusmenu-58302addf847ad32da98f7c2eb3c2e8be98ba01a.tar.bz2 libdbusmenu-58302addf847ad32da98f7c2eb3c2e8be98ba01a.zip |
Prolong our death
-rw-r--r-- | tests/test-glib-proxy-client.c | 4 | ||||
-rw-r--r-- | 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; } |