diff options
author | Ted Gould <ted@gould.cx> | 2010-02-19 12:56:56 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-19 12:56:56 -0600 |
commit | 2912cd25c85d03bd8250b75080a0463f7c3ffd3e (patch) | |
tree | a3b6703b30f5ebf0d5aa34eab177c13da7ae0596 /tests/test-glib-proxy-client.c | |
parent | 7243d998da4d037d4afc94d89cae05966a7ed364 (diff) | |
download | libdbusmenu-2912cd25c85d03bd8250b75080a0463f7c3ffd3e.tar.gz libdbusmenu-2912cd25c85d03bd8250b75080a0463f7c3ffd3e.tar.bz2 libdbusmenu-2912cd25c85d03bd8250b75080a0463f7c3ffd3e.zip |
Shorter timeout.
Diffstat (limited to 'tests/test-glib-proxy-client.c')
-rw-r--r-- | tests/test-glib-proxy-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c index 36b553a..4a24172 100644 --- a/tests/test-glib-proxy-client.c +++ b/tests/test-glib-proxy-client.c @@ -144,7 +144,7 @@ layout_verify_timer (gpointer data) } else { /* Extend our death */ g_source_remove(death_timer); - death_timer = g_timeout_add_seconds(10, timer_func, data); + death_timer = g_timeout_add_seconds(2, timer_func, data); } if (layouts[layouton+1].id == -1) { @@ -167,7 +167,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(10, timer_func, client); + death_timer = g_timeout_add_seconds(2, timer_func, client); mainloop = g_main_loop_new(NULL, FALSE); g_main_loop_run(mainloop); |