Make gtk-demo use the newer app icon

This commit is contained in:
Jasper St. Pierre 2013-10-07 16:28:04 -04:00
parent 1f4c60256f
commit 0280ef3413
2 changed files with 1 additions and 4 deletions

View File

@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<gresources> <gresources>
<gresource prefix="/">
<file>gtk-logo-old.png</file>
</gresource>
<gresource prefix="/application"> <gresource prefix="/application">
<file preprocess="to-pixdata">gtk-logo-24.png</file> <file preprocess="to-pixdata">gtk-logo-24.png</file>
<file preprocess="to-pixdata">gtk-logo-48.png</file> <file preprocess="to-pixdata">gtk-logo-48.png</file>

View File

@ -887,7 +887,7 @@ setup_default_icon (void)
{ {
GdkPixbuf *pixbuf; 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 */ /* We load a resource, so we can guarantee that loading it is successful */
g_assert (pixbuf); g_assert (pixbuf);