diff options
author | António Fernandes <antoniof@gnome.org> | 2021-08-10 20:26:02 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-11-22 15:16:18 +0000 |
commit | b80d2f32346c371e948258f9939462fb669fc326 (patch) | |
tree | d4552f366d56ff5ea99a99bb00174c964011d946 | |
parent | 23279d59120fe923351b0224ce4edcade23340bf (diff) | |
download | nautilus-b80d2f32346c371e948258f9939462fb669fc326.tar.gz |
properties-window: Don't use gtk_window_set_icon()
It's gone in GTK4.
Here it's used only as a fallback to a named icon.
Also, GNOME doesn't use window icons anyway.
So, just drop it to ease the port to GTK4.
-rw-r--r-- | src/nautilus-properties-window.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index c0bfdaa79..2b006a25e 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -462,10 +462,6 @@ update_properties_window_icon (NautilusPropertiesWindow *self) { gtk_window_set_icon_name (GTK_WINDOW (self), name); } - else - { - gtk_window_set_icon (GTK_WINDOW (self), pixbuf); - } surface = gdk_cairo_surface_create_from_pixbuf (pixbuf, gtk_widget_get_scale_factor (GTK_WIDGET (self)), gtk_widget_get_window (GTK_WIDGET (self))); |