Drop unused logo resource

The inspector no longer sets a window icon.
This commit is contained in:
Matthias Clasen 2021-01-27 23:28:36 -05:00
parent 10d5705b70
commit 1ac9400712
3 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,6 @@ for f in get_files('inspector', '.ui'):
xml += ' <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f) xml += ' <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f)
xml += ''' xml += '''
<file>inspector/logo.png</file>
<file>inspector/inspector.css</file> <file>inspector/inspector.css</file>
<file>emoji/en.data</file> <file>emoji/en.data</file>
</gresource> </gresource>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -46,7 +46,7 @@ set_texture (GtkWidget *button,
if (gtk_check_button_get_active (GTK_CHECK_BUTTON (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)); gtk_entry_set_icon_from_paintable (entry, GTK_ENTRY_ICON_SECONDARY, GDK_PAINTABLE (texture));
g_object_unref (texture); g_object_unref (texture);
} }