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



commit a9998b1023c3bf3f9a98beedbb241d8f84c430cb
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 3 11:36:55 2018 -0400

    fixup! Add tests for --gapplication-replace
    
    Trivial: space after binary '-'.

 gio/tests/gapplication.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/tests/gapplication.c b/gio/tests/gapplication.c
index 2e2352671..274d83dfd 100644
--- a/gio/tests/gapplication.c
+++ b/gio/tests/gapplication.c
@@ -1064,7 +1064,7 @@ test_replace (void)
       g_signal_connect (app, "startup", G_CALLBACK (startup_in_sub), &startup);
       g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
 
-      g_application_run (app, G_N_ELEMENTS (argv) -1, argv);
+      g_application_run (app, G_N_ELEMENTS (argv) - 1, argv);
 
       g_assert_true (startup);
 
@@ -1089,7 +1089,7 @@ test_replace (void)
       g_signal_connect (app, "startup", G_CALLBACK (startup_cb), &startup);
       g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
 
-      g_application_run (app, G_N_ELEMENTS (argv) -1, argv);
+      g_application_run (app, G_N_ELEMENTS (argv) - 1, argv);
 
       g_assert_true (startup);
       g_assert_true (name_lost);
@@ -1129,7 +1129,7 @@ test_no_replace (void)
       g_signal_connect (app, "startup", G_CALLBACK (startup_in_sub), &startup);
       g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
 
-      g_application_run (app, G_N_ELEMENTS (argv) -1, argv);
+      g_application_run (app, G_N_ELEMENTS (argv) - 1, argv);
 
       g_assert_false (startup);
 
@@ -1155,7 +1155,7 @@ test_no_replace (void)
       g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
 
       g_timeout_add (1000, quit_already, app);
-      g_application_run (app, G_N_ELEMENTS (argv) -1, argv);
+      g_application_run (app, G_N_ELEMENTS (argv) - 1, argv);
 
       g_assert_true (startup);
       g_assert_false (name_lost);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]