From 226212879ce4030b2a213acb559631aeda8b8940 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross@openedhand.com>
Date: Tue, 8 Jan 2008 15:54:04 +0000
Subject: gtk-icon-cache.bbclass: in the postinst update the pixbuf loaders to
 ensure that all are loaded before creating icon caches

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3430 311d38ba-8fff-0310-9ca6-ca027cbcb966
---
 meta/classes/gtk-icon-cache.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'meta/classes')

diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index b86562890..0d306a1b8 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -7,6 +7,10 @@ gtk-icon-cache_postinst() {
 if [ "x$D" != "x" ]; then
         exit 1
 fi
+
+# Update the pixbuf loaders in case they haven't been registered yet
+gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
+
 gtk-update-icon-cache -q /usr/share/icons/hicolor
 }
 
-- 
cgit v1.2.3