summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2022-02-11 14:23:44 +0100
committerAntónio Fernandes <antoniof@gnome.org>2022-02-11 19:01:30 +0000
commit7d0bb13c9f1fdbe200e067df54dd712aa918511e (patch)
tree4a6356bef3dcf6737eb196b761e33a9d475ffd44
parenta1bb2a25a3718a6c255babf8fb3299c859915daa (diff)
downloadnautilus-7d0bb13c9f1fdbe200e067df54dd712aa918511e.tar.gz
Revert "properties-window: Set Image pixel size"
This reverts commit 25f65bcef7ef63152fcbab3cb849ae6afbd57d3a.
-rw-r--r--src/nautilus-properties-window.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 6050683f2..a359a2101 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -456,7 +456,6 @@ update_properties_window_icon (NautilusPropertiesWindow *self)
{
g_autoptr (GdkPaintable) paintable = NULL;
g_autofree char *name = NULL;
- gint pixel_size;
get_image_for_properties_window (self, &name, &paintable);
@@ -465,13 +464,8 @@ update_properties_window_icon (NautilusPropertiesWindow *self)
gtk_window_set_icon_name (GTK_WINDOW (self), name);
}
- pixel_size = MAX (gdk_paintable_get_intrinsic_width (paintable),
- gdk_paintable_get_intrinsic_width (paintable));
-
gtk_image_set_from_paintable (GTK_IMAGE (self->icon_image), paintable);
gtk_image_set_from_paintable (GTK_IMAGE (self->icon_button_image), paintable);
- gtk_image_set_pixel_size (GTK_IMAGE (self->icon_image), pixel_size);
- gtk_image_set_pixel_size (GTK_IMAGE (self->icon_button_image), pixel_size);
}
#if 0 && NAUTILUS_DND_NEEDS_GTK4_REIMPLEMENTATION