[gnome-maps/wip/jtojnar/fix-build: 1/4] tests: Update to use GTK 4
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/jtojnar/fix-build: 1/4] tests: Update to use GTK 4
- Date: Tue, 6 Sep 2022 20:45:29 +0000 (UTC)
commit 706194cc7dc42f95f13ad8dfe33e933978d6e9e5
Author: Jan Tojnar <jtojnar gmail com>
Date: Tue Sep 6 22:19:39 2022 +0200
tests: Update to use GTK 4
Otherwise they will fail with:
Error: Requiring Gdk, version 3.0: Typelib file for namespace 'Gdk', version '3.0' not found
tests/osmNamesTest.js | 4 ++--
tests/translationsTest.js | 4 ++--
tests/urisTest.js | 4 ++--
tests/utilsTest.js | 4 ++--
tests/wikipediaTest.js | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/tests/osmNamesTest.js b/tests/osmNamesTest.js
index 5a5044b2..dfb288b4 100644
--- a/tests/osmNamesTest.js
+++ b/tests/osmNamesTest.js
@@ -19,8 +19,8 @@
* Author: Marcus Lundblad <ml update uu se>
*/
-import 'gi://Gdk?version=3.0';
-import 'gi://Gtk?version=3.0';
+import 'gi://Gdk?version=4.0';
+import 'gi://Gtk?version=4.0';
import * as OSMNames from './osmNames.js';
diff --git a/tests/translationsTest.js b/tests/translationsTest.js
index 422c1b5e..6fff0a24 100644
--- a/tests/translationsTest.js
+++ b/tests/translationsTest.js
@@ -19,8 +19,8 @@
* Author: Marcus Lundblad <ml update uu se>
*/
-import 'gi://Gdk?version=3.0';
-import 'gi://Gtk?version=3.0';
+import 'gi://Gdk?version=4.0';
+import 'gi://Gtk?version=4.0';
const JsUnit = imports.jsUnit;
diff --git a/tests/urisTest.js b/tests/urisTest.js
index 8b8b4d9f..20d16b64 100644
--- a/tests/urisTest.js
+++ b/tests/urisTest.js
@@ -19,8 +19,8 @@
* Author: Marcus Lundblad <ml update uu se>
*/
-import 'gi://Gdk?version=3.0';
-import 'gi://Gtk?version=3.0';
+import 'gi://Gdk?version=4.0';
+import 'gi://Gtk?version=4.0';
import 'gi://Soup?version=3.0';
const JsUnit = imports.jsUnit;
diff --git a/tests/utilsTest.js b/tests/utilsTest.js
index 118f9a72..b1b97149 100644
--- a/tests/utilsTest.js
+++ b/tests/utilsTest.js
@@ -19,8 +19,8 @@
* Author: Marcus Lundblad <ml update uu se>
*/
-import 'gi://Gdk?version=3.0';
-import 'gi://Gtk?version=3.0';
+import 'gi://Gdk?version=4.0';
+import 'gi://Gtk?version=4.0';
import 'gi://GeocodeGlib?version=2.0';
import GeocodeGlib from 'gi://GeocodeGlib';
diff --git a/tests/wikipediaTest.js b/tests/wikipediaTest.js
index 9b6f2962..29e6086a 100644
--- a/tests/wikipediaTest.js
+++ b/tests/wikipediaTest.js
@@ -19,8 +19,8 @@
* Author: Marcus Lundblad <ml update uu se>
*/
-import 'gi://Gdk?version=3.0';
-import 'gi://Gtk?version=3.0';
+import 'gi://Gdk?version=4.0';
+import 'gi://Gtk?version=4.0';
import 'gi://Soup?version=3.0';
import * as Wikipedia from './wikipedia.js';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]