[glib/application-replace] fixup! Add tests for --gapplication-replace
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/application-replace] fixup! Add tests for --gapplication-replace
- Date: Thu, 8 Nov 2018 17:25:32 +0000 (UTC)
commit 311b0b7098fd6e89c56c2337e729988fba4bd642
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 8 12:25:03 2018 -0500
fixup! Add tests for --gapplication-replace
Use g_timeout_add_seconds
gio/tests/gapplication.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/gapplication.c b/gio/tests/gapplication.c
index a8820aeda..c90a06069 100644
--- a/gio/tests/gapplication.c
+++ b/gio/tests/gapplication.c
@@ -1097,7 +1097,7 @@ test_replace (gconstpointer data)
g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
if (!allow)
- g_timeout_add (1000, quit_already, app);
+ g_timeout_add_seconds (1, quit_already, app);
g_application_run (app, G_N_ELEMENTS (argv) - 1, argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]