[gnome-maps/wip/mlundblad/capitalize-opening-hours: 31/32] 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: 31/32] translations: Ensure correct version of GTK in test
- Date: Tue, 9 Feb 2021 20:59:02 +0000 (UTC)
commit bba4760a1eb170633dad0deb6181dd48151cf1a9
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]