[gimp/goat-invasion] ==== squeeze me into previous ====
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion] ==== squeeze me into previous ====
- Date: Sun, 8 Apr 2012 16:54:22 +0000 (UTC)
commit 2055f68400a8a4df868c0576c5d2f8e014e4597e
Author: Michael Natterer <mitch gimp org>
Date: Sun Apr 8 18:54:03 2012 +0200
==== squeeze me into previous ====
app/core/gimpdrawable-preview.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpdrawable-preview.c b/app/core/gimpdrawable-preview.c
index 06be6a8..b921874 100644
--- a/app/core/gimpdrawable-preview.c
+++ b/app/core/gimpdrawable-preview.c
@@ -33,6 +33,8 @@
#include "config/gimpcoreconfig.h"
+#include "gegl/gimp-gegl-utils.h"
+
#include "gimp.h"
#include "gimpchannel.h"
#include "gimpimage.h"
@@ -218,7 +220,8 @@ gimp_drawable_indexed_preview (GimpDrawable *drawable,
src_x, src_y, src_width, src_height,
FALSE);
- preview_buf = temp_buf_new (dest_width, dest_height, bytes);
+ preview_buf = temp_buf_new (dest_width, dest_height,
+ gimp_bpp_to_babl_format (bytes));
pixel_region_init_temp_buf (&destPR, preview_buf,
0, 0, dest_width, dest_height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]