[d-feet: 2/7] Add required introspection version



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]