[d-feet: 2/7] Add required introspection version
- From: Thomas Bechtold <toabctl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [d-feet: 2/7] Add required introspection version
- Date: Sun, 3 Feb 2019 13:58:46 +0000 (UTC)
commit 86b8affb423a1acf298f97ab85f72e89c8d1dd4c
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Tue Jan 22 09:13:25 2019 +0100
Add required introspection version
D-Feet's test unit does not specify the required introspection
version.
This adds the required introspection version.
src/tests/tests.py.in | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/tests/tests.py.in b/src/tests/tests.py.in
index 35b1f55..de40cf3 100755
--- a/src/tests/tests.py.in
+++ b/src/tests/tests.py.in
@@ -5,6 +5,8 @@ import os
import tempfile
sys.path.insert(0, os.path.abspath(os.path.join(__file__, "@SRC_DIR@")))
+import gi
+gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import Gio
from gi.repository import GLib
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]