aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/msec/msecgui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py
index 085e757..e1a42f6 100755
--- a/src/msec/msecgui.py
+++ b/src/msec/msecgui.py
@@ -18,8 +18,11 @@ import time
import warnings
warnings.filterwarnings('error', module='gtk')
try:
+ from gi import require_version
from gi.repository import GLib
+ require_version('GdkPixbuf', '2.0')
from gi.repository import GdkPixbuf
+ require_version('Gtk', '3.0')
from gi.repository import Gtk
import gi
from gi.repository import GObject