]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk-icon-cache/pixbufcache: don't set GDK_PIXBUF_MODULEDIR
authorRoss Burton <ross.burton@intel.com>
Fri, 25 Sep 2015 22:43:55 +0000 (23:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Sep 2015 16:57:44 +0000 (17:57 +0100)
In normal use gdk-pixbuf knows where to find its own loaders and explicitly
stating this will cause work in the future if the ABI version changes.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gtk-icon-cache.bbclass
meta/classes/pixbufcache.bbclass

index b005ab220b9e0bcda2083f18766225c513379aa2..6195fa4526f9fa2026c3830a82b75edd62f31b5a 100644 (file)
@@ -11,7 +11,7 @@ if [ "x$D" != "x" ]; then
 else
 
        # Update the pixbuf loaders in case they haven't been registered yet
-       GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders ${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
+       ${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
 
        for icondir in /usr/share/icons/* ; do
                if [ -d $icondir ] ; then
index 18fd9fa68db4d828fff381033d83b34aa18a5227..dbe11e12da9f565a0a172ea53989742e78ffd17a 100644 (file)
@@ -15,7 +15,7 @@ if [ "x$D" != "x" ]; then
 else
 
        # Update the pixbuf loaders in case they haven't been registered yet
-       GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders ${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
+       ${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
 
        if [ -x ${bindir}/gtk-update-icon-cache ] && [ -d ${datadir}/icons ]; then
                for icondir in /usr/share/icons/*; do