Signed-off-by: Fabiano FidĂȘncio <fidencio(a)redhat.com>
---
examples/event-test.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/examples/event-test.py b/examples/event-test.py
index e1e8435..7668b56 100644
--- a/examples/event-test.py
+++ b/examples/event-test.py
@@ -1,10 +1,14 @@
#!/usr/bin/env python2
+import gi
+
+gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
import libvirt
import getopt
import sys
+gi.require_version('LibvirtGLib', '1.0')
from gi.repository import LibvirtGLib
def eventToString(event):
--
2.21.0