summaryrefslogtreecommitdiff
path: root/graphics/gimp-refocus-plugin/files/patch-src__prevman.c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2014-04-07 23:54:13 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2014-04-07 23:54:13 +0000
commit09c482df59a49146379d1ba8626f4572003a038c (patch)
tree2774e8416bbc821c3efd62289836752f7417de57 /graphics/gimp-refocus-plugin/files/patch-src__prevman.c
parentNew port ez-perspective 0.1.2: GIMP plugin to sharpen by increasing contrast ... (diff)
New port Refocus 0.9.0: GIMP plugin to "refocus" images through FIR Wiener filtering
Approved by: eadler (mentor) Obtained from: gentoo portage (patches)
Notes
Notes: svn path=/head/; revision=350554
Diffstat (limited to 'graphics/gimp-refocus-plugin/files/patch-src__prevman.c')
-rw-r--r--graphics/gimp-refocus-plugin/files/patch-src__prevman.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/gimp-refocus-plugin/files/patch-src__prevman.c b/graphics/gimp-refocus-plugin/files/patch-src__prevman.c
new file mode 100644
index 000000000000..394dda32c0d8
--- /dev/null
+++ b/graphics/gimp-refocus-plugin/files/patch-src__prevman.c
@@ -0,0 +1,29 @@
+--- src/prevman.c 2014-03-27 20:00:17.000000000 -0300
++++ src/prevman.c 2014-03-27 20:00:23.000000000 -0300
+@@ -52,7 +52,7 @@
+ tile_source->width = drawable->width;
+ tile_source->height = drawable->height;
+ tile_source->bpp = drawable->bpp;
+- tile_source->has_alpha = gimp_drawable_has_alpha (drawable->id);
++ tile_source->has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
+ tile_source->un.drw.drawable = drawable;
+ gimp_pixel_rgn_init (&tile_source->un.drw.pixel_rgn, drawable, x, y, width,
+ height, FALSE, FALSE);
+@@ -144,7 +144,7 @@
+ tile_sink->width = drawable->width;
+ tile_sink->height = drawable->height;
+ tile_sink->bpp = drawable->bpp;
+- tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->id);
++ tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
+ gimp_pixel_rgn_init (&tile_sink->un.drw.pixel_rgn, drawable, x, y, width,
+ height, TRUE, TRUE);
+ }
+@@ -159,7 +159,7 @@
+ tile_sink->width = width;
+ tile_sink->height = height;
+ tile_sink->bpp = drawable->bpp;
+- tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->id);
++ tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
+ tile_sink->un.prv.data = g_new (guchar,
+ tile_sink->width * tile_sink->height *
+ tile_sink->bpp);