summaryrefslogtreecommitdiff
path: root/system/lirc/gi.patch
blob: 63e966eeaea419d2f7906cb5ae11a6b3afefe7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tools/lirc-setup/mvc_control.py b/tools/lirc-setup/mvc_control.py
index 9d0548a..16395f6 100644
--- a/tools/lirc-setup/mvc_control.py
+++ b/tools/lirc-setup/mvc_control.py
@@ -1,5 +1,8 @@
 ''' Simple lirc setup tool - control part. '''
 
+import gi
+gi.require_version('Gtk', '3.0')
+
 from gi.repository import Gtk         # pylint: disable=no-name-in-module
 
 import os