summaryrefslogtreecommitdiff
path: root/grc/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'grc/scripts')
-rwxr-xr-xgrc/scripts/gnuradio-companion2
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/scripts/gnuradio-companion b/grc/scripts/gnuradio-companion
index 8f267c8198..21d989164f 100755
--- a/grc/scripts/gnuradio-companion
+++ b/grc/scripts/gnuradio-companion
@@ -39,6 +39,8 @@ Is the library path environment variable set correctly?
def die(error, message):
msg = "{0}\n\n({1})".format(message, error)
try:
+ import gi
+ gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
d = Gtk.MessageDialog(
message_type=Gtk.MessageType.ERROR,