summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-08-10 20:26:02 +0100
committerAntónio Fernandes <antoniof@gnome.org>2021-08-15 21:21:07 +0100
commitb5765a9e2745a78ed2d2dd1c6ef7f2713c62a357 (patch)
treeb7d85ca98f1002d80283086c9310e1dd9f736ffc
parentbee0e38af2958a35d247d26e6b9fc77f73ea2341 (diff)
downloadnautilus-b5765a9e2745a78ed2d2dd1c6ef7f2713c62a357.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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index a841eed97..2414c2f58 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)));