[gnome-maps/wip/mlundblad/capitalize-opening-hours: 1/2] translations: Ensure correct version of GTK in test
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/capitalize-opening-hours: 1/2] translations: Ensure correct version of GTK in test
- Date: Sun, 31 Jan 2021 21:21:09 +0000 (UTC)
commit 13289d82dfbafb9fd7ebe26fc4a40a0d0e33cf2f
Author: Marcus Lundblad <ml update uu se>
Date: Sun Jan 31 22:18:33 2021 +0100
translations: Ensure correct version of GTK in test
Since the translations module now uses utils, the
test need to ensure GTK and GDK 3 are requested via
gobject-introspection.
tests/translationsTest.js | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/tests/translationsTest.js b/tests/translationsTest.js
index e9c62f09..ac662f7f 100644
--- a/tests/translationsTest.js
+++ b/tests/translationsTest.js
@@ -19,6 +19,9 @@
* Author: Marcus Lundblad <ml update uu se>
*/
+pkg.require({ 'Gdk': '3.0',
+ 'Gtk': '3.0' });
+
const JsUnit = imports.jsUnit;
const Time = imports.time;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]