All of lore.kernel.org
 help / color / mirror / Atom feed
* [bitbake][PATCH] lib/ui/taskexp: Fix missing Gtk import
@ 2020-07-07 14:39 David Khouya
  0 siblings, 0 replies; only message in thread
From: David Khouya @ 2020-07-07 14:39 UTC (permalink / raw)
  To: bitbake-devel; +Cc: David Khouya

Adding back gtk objects import.

Fix bug introduce when adding validation on gtk import.

Signed-off-by: David Khouya <dakhouya@gmail.com>
---
 lib/bb/ui/taskexp.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/ui/taskexp.py b/lib/bb/ui/taskexp.py
index 336d197d..05e32338 100644
--- a/lib/bb/ui/taskexp.py
+++ b/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:
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-07 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 14:39 [bitbake][PATCH] lib/ui/taskexp: Fix missing Gtk import David Khouya

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.