diff options
author | MaZderMind <git@mazdermind.de> | 2015-11-17 00:24:26 +0100 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-11-17 00:24:26 +0100 |
commit | 07f2ab39dc7acd278fa78ab841030207abe2e127 (patch) | |
tree | 47c9b44c055837232c9748b066e6214251c49e73 /voctogui | |
parent | d37661d72375bcea603afa0bac16703004923afe (diff) |
specify gi-version before importing from gi
Diffstat (limited to 'voctogui')
-rwxr-xr-x | voctogui/voctogui.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |