Signed-off-by: Fabiano FidĂȘncio <fidencio(a)redhat.com>
---
examples/conn-test.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/examples/conn-test.py b/examples/conn-test.py
index 8cd489e..100f5f5 100644
--- a/examples/conn-test.py
+++ b/examples/conn-test.py
@@ -1,7 +1,11 @@
#!/usr/bin/env python2
+import gi
+
+gi.require_version('LibvirtGObject', '1.0')
from gi.repository import LibvirtGObject
from gi.repository import Gio
+gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
LibvirtGObject.init_object_check(None)
--
2.21.0