[gtk/matthiasc/for-master: 4/7] Drop unused logo resource




commit 1ac9400712909bbc657f5a57f81deaab20aa8cf7
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 27 23:28:36 2021 -0500

    Drop unused logo resource
    
    The inspector no longer sets a window icon.

 gtk/gen-gtk-gresources-xml.py |   1 -
 gtk/inspector/logo.png        | Bin 2640 -> 0 bytes
 tests/testentryicons.c        |   2 +-
 3 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gtk/gen-gtk-gresources-xml.py b/gtk/gen-gtk-gresources-xml.py
index 3f08c60e80..8072eee9f4 100644
--- a/gtk/gen-gtk-gresources-xml.py
+++ b/gtk/gen-gtk-gresources-xml.py
@@ -86,7 +86,6 @@ for f in get_files('inspector', '.ui'):
   xml += '    <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f)
 
 xml += '''
-    <file>inspector/logo.png</file>
     <file>inspector/inspector.css</file>
     <file>emoji/en.data</file>
   </gresource>
diff --git a/tests/testentryicons.c b/tests/testentryicons.c
index 7c91901acf..a39b1c573f 100644
--- a/tests/testentryicons.c
+++ b/tests/testentryicons.c
@@ -46,7 +46,7 @@ set_texture (GtkWidget *button,
 
   if (gtk_check_button_get_active (GTK_CHECK_BUTTON (button)))
     {
-      texture = gdk_texture_new_from_resource ("/org/gtk/libgtk/inspector/logo.png");
+      texture = gdk_texture_new_from_resource ("/org/gtk/libgtk/icons/32x32/places/network-workgroup.png");
       gtk_entry_set_icon_from_paintable (entry, GTK_ENTRY_ICON_SECONDARY, GDK_PAINTABLE (texture));
       g_object_unref (texture);
     }


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