[glib/application-replace] fixup! Add tests for --gapplication-replace



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]