[gtk+] Make gtk-demo use the newer app icon



commit 0280ef341370ed6b19e9f734b1468ee63d1188be
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Oct 7 16:28:04 2013 -0400

    Make gtk-demo use the newer app icon

 demos/gtk-demo/demo.gresource.xml |    3 ---
 demos/gtk-demo/main.c             |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/demos/gtk-demo/demo.gresource.xml b/demos/gtk-demo/demo.gresource.xml
index 9b38c52..66a65c4 100644
--- a/demos/gtk-demo/demo.gresource.xml
+++ b/demos/gtk-demo/demo.gresource.xml
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
-  <gresource prefix="/">
-    <file>gtk-logo-old.png</file>
-  </gresource>
   <gresource prefix="/application">
     <file preprocess="to-pixdata">gtk-logo-24.png</file>
     <file preprocess="to-pixdata">gtk-logo-48.png</file>
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index b182033..cb9a1a6 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -887,7 +887,7 @@ setup_default_icon (void)
 {
   GdkPixbuf *pixbuf;
 
-  pixbuf = gdk_pixbuf_new_from_resource ("/gtk-logo-old.png", NULL);
+  pixbuf = gdk_pixbuf_new_from_resource ("/application/gtk-logo-48.png", NULL);
   /* We load a resource, so we can guarantee that loading it is successful */
   g_assert (pixbuf);
 


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