diff options
author | David Khouya <dakhouya@gmail.com> | 2020-07-07 10:39:09 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-07 17:49:36 +0100 |
commit | 31c4731c8e14f372b8df9b46b2bf179187796573 (patch) | |
tree | a3e4d4454ae09698bafc1c72652c523ad5d0be69 /bitbake/lib | |
parent | 75e91b8e52ec77398e6b0fc09456e971662d9d7e (diff) | |
download | poky-31c4731c8e14f372b8df9b46b2bf179187796573.tar.gz |
bitbake: lib/ui/taskexp: Fix missing Gtk import
Adding back gtk objects import.
Fix bug introduce when adding validation on gtk import.
(Bitbake rev: 765be5ef60668f8a1cfbcba248f4995725807196)
Signed-off-by: David Khouya <dakhouya@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/taskexp.py | 1 |
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 | |||
12 | try: | 12 | try: |
13 | import gi | 13 | import gi |
14 | gi.require_version('Gtk', '3.0') | 14 | gi.require_version('Gtk', '3.0') |
15 | from gi.repository import Gtk, Gdk, GObject | ||
15 | except ValueError: | 16 | except ValueError: |
16 | sys.exit("FATAL: Gtk version needs to be 3.0") | 17 | sys.exit("FATAL: Gtk version needs to be 3.0") |
17 | except ImportError: | 18 | except ImportError: |