[OE-core] [PATCH] gtk+3: Tweak getVar to use True, not 1

Richard Purdie richard.purdie at linuxfoundation.org
Tue Feb 2 23:50:42 UTC 2016


Cosmetic change to use "True", not 1 as expand parameter for getVar.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index 353c521..fa9281b 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -105,7 +105,7 @@ python populate_packages_prepend () {
 
     do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s')
 
-    if (d.getVar('DEBIAN_NAMES', 1)):
+    if (d.getVar('DEBIAN_NAMES', True)):
         d.setVar(d.expand('PKG_${PN}'), '${MLPREFIX}libgtk-3.0')
 }
 





More information about the Openembedded-core mailing list