[gimp] plug-ins: fix pagecurl arguments order after GimpImageProcedure port.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix pagecurl arguments order after GimpImageProcedure port.
- Date: Sun, 18 Aug 2019 19:55:55 +0000 (UTC)
commit 5b3e8e1f057250605079c253d25f59ca468a1e0e
Author: Jehan <jehan girinstud io>
Date: Sun Aug 18 21:53:45 2019 +0200
plug-ins: fix pagecurl arguments order after GimpImageProcedure port.
The additional arguments are ordered down -3.
plug-ins/pagecurl/pagecurl.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/pagecurl/pagecurl.c b/plug-ins/pagecurl/pagecurl.c
index e42cac54eb..608a112550 100644
--- a/plug-ins/pagecurl/pagecurl.c
+++ b/plug-ins/pagecurl/pagecurl.c
@@ -291,10 +291,10 @@ pagecurl_run (GimpProcedure *procedure,
image_id = image;
- curl.colors = g_value_get_int (gimp_value_array_index (args, 3));
- curl.edge = g_value_get_int (gimp_value_array_index (args, 4));
- curl.orientation = g_value_get_int (gimp_value_array_index (args, 5));
- curl.shade = g_value_get_boolean (gimp_value_array_index (args, 6));
+ curl.colors = g_value_get_int (gimp_value_array_index (args, 0));
+ curl.edge = g_value_get_int (gimp_value_array_index (args, 1));
+ curl.orientation = g_value_get_int (gimp_value_array_index (args, 2));
+ curl.shade = g_value_get_boolean (gimp_value_array_index (args, 3));
if (! gimp_drawable_mask_intersect (drawable_id, &sel_x, &sel_y,
&true_sel_width, &true_sel_height))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]