summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-10-13 09:58:40 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-10-14 15:06:13 -0400
commitf93784f9e79ef6ca8f0d27756c38b520f11f7648 (patch)
tree86fac61e8923bc122f1cfb6c51a2f9503b687285
parentd695b15f1a12c1bea853bee904b0bc2d8c72f360 (diff)
downloadgtk+-f93784f9e79ef6ca8f0d27756c38b520f11f7648.tar.gz
pixbufutils: Pass calculated height value along
-rw-r--r--gtk/tools/gdkpixbufutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/tools/gdkpixbufutils.c b/gtk/tools/gdkpixbufutils.c
index d1a627c37b..1d6eb4feff 100644
--- a/gtk/tools/gdkpixbufutils.c
+++ b/gtk/tools/gdkpixbufutils.c
@@ -147,7 +147,7 @@ size_prepared_cb2 (GdkPixbufLoader *loader,
height = scales[1];
}
- gdk_pixbuf_loader_set_size (loader, width, scales[1]);
+ gdk_pixbuf_loader_set_size (loader, width, height);
}
GdkPixbuf *