[gimp] libgimp: fix copy/paste errors in GIMP_VALUES_FOO_OBJECT_ARRAY()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: fix copy/paste errors in GIMP_VALUES_FOO_OBJECT_ARRAY()
- Date: Thu, 5 Sep 2019 13:04:11 +0000 (UTC)
commit c59eaa5e3d69e24158472a6ef330f762d2cb13b8
Author: Michael Natterer <mitch gimp org>
Date: Thu Sep 5 14:38:20 2019 +0200
libgimp: fix copy/paste errors in GIMP_VALUES_FOO_OBJECT_ARRAY()
libgimp/gimpprocedure-params.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgimp/gimpprocedure-params.h b/libgimp/gimpprocedure-params.h
index 23e70540b4..0b36990980 100644
--- a/libgimp/gimpprocedure-params.h
+++ b/libgimp/gimpprocedure-params.h
@@ -439,7 +439,7 @@ G_BEGIN_DECLS
#define GIMP_PROC_VAL_OBJECT_ARRAY(class, name, nick, blurb, object_type, flags) \
gimp_procedure_add_return_value (procedure,\
- gimp_param_spec_string_array (name, nick, blurb,\
+ gimp_param_spec_object_array (name, nick, blurb,\
object_type, flags))
#define GIMP_VALUES_GET_OBJECT_ARRAY(args, n) \
@@ -448,13 +448,13 @@ G_BEGIN_DECLS
#define GIMP_VALUES_DUP_OBJECT_ARRAY(args, n) \
(gpointer) gimp_value_dup_object_array (gimp_value_array_index (args, n))
-#define GIMP_VALUES_SET_OBJECT_ARRAY(args, n, value, length) \
+#define GIMP_VALUES_SET_OBJECT_ARRAY(args, n, object_type, value, length) \
gimp_value_set_object_array (gimp_value_array_index (args, n),\
- (gpointer) value, length)
+ object_type, (gpointer) value, length)
-#define GIMP_VALUES_TAKE_OBJECT_ARRAY(args, n, value, length) \
+#define GIMP_VALUES_TAKE_OBJECT_ARRAY(args, n, object_type, value, length) \
gimp_value_take_object_array (gimp_value_array_index (args, n),\
- (gpointer) value, length)
+ object_type, (gpointer) value, length)
/* display */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]