summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Khouya <dakhouya@gmail.com>2020-07-07 10:39:09 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-19 16:22:12 +0100
commit62de572029c2dd084164bd936bb49667ba0746e2 (patch)
treebc7191a632d12fb23aa167aa3c4c708f43a61d7d
parent38a756daa939a1dc2546565a690eec7ad7d2060d (diff)
downloadpoky-62de572029c2dd084164bd936bb49667ba0746e2.tar.gz
poky-62de572029c2dd084164bd936bb49667ba0746e2.tar.bz2
poky-62de572029c2dd084164bd936bb49667ba0746e2.zip
bitbake: lib/ui/taskexp: Fix missing Gtk import
Adding back gtk objects import. Fix bug introduce when adding validation on gtk import. (Bitbake rev: 44e24fffc568dfee054b5feff2d9b382b9ce4bb5) Signed-off-by: David Khouya <dakhouya@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 765be5ef60668f8a1cfbcba248f4995725807196) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/taskexp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/taskexp.py b/bitbake/lib/bb/ui/taskexp.py
index 336d197deb..05e32338c2 100644
--- a/bitbake/lib/bb/ui/taskexp.py
+++ b/bitbake/lib/bb/ui/taskexp.py
@@ -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: