[gtk/wip/baedert/for-master] pixbufutils: Pass calculated height value along
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] pixbufutils: Pass calculated height value along
- Date: Wed, 14 Oct 2020 08:15:03 +0000 (UTC)
commit f90d23d7904d06496054fa80d76e82b83942aca9
Author: Timm Bäder <mail baedert org>
Date: Tue Oct 13 09:58:40 2020 +0200
pixbufutils: Pass calculated height value along
gtk/tools/gdkpixbufutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]