From 91189b62b2f8516b7e906b217a418b1f3267d581 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 17 Dec 2008 19:33:30 +0000 Subject: [PATCH] reverted last change, it was bogus. 2008-12-17 Sven Neumann * plug-ins/common/file-png.c: reverted last change, it was bogus. svn path=/trunk/; revision=27808 --- ChangeLog | 4 ++++ plug-ins/common/file-png.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index aa7560bc2d..887a3f7392 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-12-17 Sven Neumann + + * plug-ins/common/file-png.c: reverted last change, it was bogus. + 2008-12-17 Sven Neumann * plug-ins/common/file-png.c (load_image) (save_image): use a tile diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c index 066cd36e8b..96b9b398c2 100644 --- a/plug-ins/common/file-png.c +++ b/plug-ins/common/file-png.c @@ -977,8 +977,6 @@ load_image (const gchar *filename, for (i = 0; i < tile_height; i++) pixels[i] = pixel + info->width * info->channels * i; - gimp_tile_cache_ntiles (1 + drawable->width / gimp_tile_width ()); - /* Install our own error handler to handle incomplete PNG files better */ error_data.drawable = drawable; error_data.pixel = pixel; @@ -1489,8 +1487,6 @@ save_image (const gchar *filename, pixel = g_new (guchar, tile_height * drawable->width * bpp); pixels = g_new (guchar *, tile_height); - gimp_tile_cache_ntiles (1 + drawable->width / gimp_tile_width ()); - for (i = 0; i < tile_height; i++) pixels[i] = pixel + drawable->width * bpp * i;