Skip to contentSkip to conversation

lib/ui/taskexp: Fix missing Gtk import

PATCH New David Khouya 1 participant 1 message Jul 7, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/ui/taskexp: Fix missing Gtk import

Adding back gtk objects import.

Fix bug introduce when adding validation on gtk import.

---
 lib/bb/ui/taskexp.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/ui/taskexp.py +1 -0
index 336d197d..05e32338 100644
@@ -12,6 +12,7 @@ import sys
 try:
     import gi
     gi.require_version('Gtk', '3.0')
+    from gi.repository import Gtk, Gdk, GObject
 except ValueError:
     sys.exit("FATAL: Gtk version needs to be 3.0")
 except ImportError:
Signature · 1 line
2.25.1