[libgnome-games-support] test-scores: Declare main properly



commit 4de30c1e6e680d1b8eec8a407f02bc6c43532754
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Dec 10 18:33:39 2018 -0600

    test-scores: Declare main properly
    
    The vala compiler has become stricter.

 tests/test-scores.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-scores.vala b/tests/test-scores.vala
index 9050f4f..e8e313c 100644
--- a/tests/test-scores.vala
+++ b/tests/test-scores.vala
@@ -270,7 +270,7 @@ private void test_import_from_nonexistent_history_file ()
     /* No error */
 }
 
-public int main (string args[])
+public int main (string[] args)
 {
     /* Start fresh.... */
     delete_scores ();


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