mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
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.
This commit is contained in:
parent
23279d5912
commit
b80d2f3234
1 changed files with 0 additions and 4 deletions
|
@ -462,10 +462,6 @@ update_properties_window_icon (NautilusPropertiesWindow *self)
|
||||||
{
|
{
|
||||||
gtk_window_set_icon_name (GTK_WINDOW (self), name);
|
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)),
|
surface = gdk_cairo_surface_create_from_pixbuf (pixbuf, gtk_widget_get_scale_factor (GTK_WIDGET (self)),
|
||||||
gtk_widget_get_window (GTK_WIDGET (self)));
|
gtk_widget_get_window (GTK_WIDGET (self)));
|
||||||
|
|
Loading…
Reference in a new issue