[gimp] libgimpbase: some annotation and doc fixes



commit b4bccc98089b5f46e197058b02d2d91aef0c0267
Author: Michael Natterer <mitch gimp org>
Date:   Wed Aug 7 23:32:15 2019 +0200

    libgimpbase: some annotation and doc fixes

 libgimpbase/gimpsignal.c     |  2 +-
 libgimpbase/gimpvaluearray.c | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/libgimpbase/gimpsignal.c b/libgimpbase/gimpsignal.c
index a0221f3c3b..4e334f68ff 100644
--- a/libgimpbase/gimpsignal.c
+++ b/libgimpbase/gimpsignal.c
@@ -40,7 +40,7 @@
 /* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */
 
 /**
- * gimp_signal_private:
+ * gimp_signal_private: (skip)
  * @signum: Selects signal to be handled see man 5 signal (or man 7 signal)
  * @handler: Handler that maps to signum. Invoked by O/S.
  *           Handler gets signal that caused invocation. Corresponds
diff --git a/libgimpbase/gimpvaluearray.c b/libgimpbase/gimpvaluearray.c
index 19c3921592..85905d0017 100644
--- a/libgimpbase/gimpvaluearray.c
+++ b/libgimpbase/gimpvaluearray.c
@@ -625,6 +625,24 @@ gimp_param_value_array_values_cmp (GParamSpec   *pspec,
     }
 }
 
+/**
+ * gimp_param_spec_value_array:
+ * @name:         Canonical name of the property specified.
+ * @nick:         Nick name of the property specified.
+ * @blurb:        Description of the property specified.
+ * @element_spec: (nullable): #GParamSpec the contained array's elements
+ *                have comply to, or %NULL.
+ * @flags:        Flags for the property specified.
+ *
+ * Creates a new #GimpParamSpecValueArray specifying a
+ * #G_TYPE_VALUE_ARRAY property.
+ *
+ * See g_param_spec_internal() for details on property names.
+ *
+ * Returns: (transfer full): The newly created #GimpParamSpecValueArray.
+ *
+ * Since: 3.0
+ **/
 GParamSpec *
 gimp_param_spec_value_array (const gchar *name,
                              const gchar *nick,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]