From 60a37c35de8654bc31e35f1572d834832230e7b0 Mon Sep 17 00:00:00 2001 From: ichramm Date: Sun, 7 Mar 2021 11:47:23 -0300 Subject: [PATCH 1/3] Fix compilation in vala 0.49+ fixes #104 --- src/VGriveClient.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VGriveClient.vala b/src/VGriveClient.vala index 8d1035f..11f98fb 100644 --- a/src/VGriveClient.vala +++ b/src/VGriveClient.vala @@ -1063,7 +1063,7 @@ namespace App { } public DriveFile get_file_info_extra(string file_id, string fields) throws ErrorGoogleDriveAPI { - RequestParam[1] params = new RequestParam[1]; + RequestParam[] params = new RequestParam[1]; params[0] = {"fields", fields}; string res = this.make_request("GET", this.api_uri+"/files/"+file_id, params, null, null, false).response; var parser = new Json.Parser (); From 79b7f19440b84b9d90384bafb7c4d6c78d5283da Mon Sep 17 00:00:00 2001 From: ichramm Date: Sun, 7 Mar 2021 12:01:47 -0300 Subject: [PATCH 2/3] Fix tests compilation error --- tests/test.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.vala b/tests/test.vala index 93c8813..f8a2ed3 100644 --- a/tests/test.vala +++ b/tests/test.vala @@ -5,7 +5,7 @@ public abstract class Gee.TestCase : Object { public delegate void TestMethod (); - public TestCase (string name) { + protected TestCase (string name) { this.suite = new GLib.TestSuite (name); } From e9a7f1e8336d0df0f8ccf8b49b5fbecb16bbd6a2 Mon Sep 17 00:00:00 2001 From: ichramm Date: Wed, 5 May 2021 11:37:32 -0300 Subject: [PATCH 3/3] (partially) fix broken ci build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5b1c64e..66dbd2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: node_js node_js: - - 10/* + - 10.17.0 sudo: required