From 07f2ab39dc7acd278fa78ab841030207abe2e127 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 17 Nov 2015 00:24:26 +0100 Subject: specify gi-version before importing from gi --- voctogui/voctogui.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'voctogui') diff --git a/voctogui/voctogui.py b/voctogui/voctogui.py index fa81d1c..9f0cc0a 100755 --- a/voctogui/voctogui.py +++ b/voctogui/voctogui.py @@ -2,7 +2,10 @@ import gi, signal, logging, sys, os # import GStreamer and GLib-Helper classes +gi.require_version('Gtk', '3.0') gi.require_version('Gst', '1.0') +gi.require_version('GdkX11', '3.0') +gi.require_version('GstVideo', '1.0') from gi.repository import Gtk, Gdk, Gst, GObject, GdkX11, GstVideo # check min-version -- cgit v1.2.3