[gnome-software] Small optimization



commit 50bee0bd9f2dc7652c4aafb418da0c2345b0bcad
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 20 19:04:57 2013 -0400

    Small optimization
    
    GResource allows preprocessing for pixbufs, so lets
    use it.

 src/gnome-software.gresource.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-software.gresource.xml b/src/gnome-software.gresource.xml
index 139d1bc..37bf130 100644
--- a/src/gnome-software.gresource.xml
+++ b/src/gnome-software.gresource.xml
@@ -9,7 +9,7 @@
   <file preprocess="xml-stripblanks">app-tile.ui</file>
   <file preprocess="xml-stripblanks">app-widget.ui</file>
   <file>gtk-style.css</file>
-  <file>shadow.png</file>
-  <file>shadow-active.png</file>
+  <file preprocess="to-pixdata">shadow.png</file>
+  <file preprocess="to-pixdata">shadow-active.png</file>
  </gresource>
 </gresources>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]