From 369a7782a1b1a928918cdf29489fe421a7dcbaf5 Mon Sep 17 00:00:00 2001 From: Anders Jonsson Date: Sat, 29 Jul 2023 12:36:21 +0200 Subject: [PATCH] app, libgimp, libgimpbase: fix gi-docgen rendering --- app/core/gimpparamspecs.c | 2 +- libgimp/gimplayer.c | 4 ++-- libgimp/gimpparamspecs-body.c | 32 ++++++++++++++++---------------- libgimpbase/gimpparamspecs.c | 10 +++++----- libgimpbase/gimpparasite.c | 2 +- libgimpbase/gimpvaluearray.c | 2 +- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/app/core/gimpparamspecs.c b/app/core/gimpparamspecs.c index 0b60ad7da1..40d2a25657 100644 --- a/app/core/gimpparamspecs.c +++ b/app/core/gimpparamspecs.c @@ -162,7 +162,7 @@ gimp_param_string_validate (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecString specifying a - * #G_TYPE_STRING property. + * [type@GLib.String] property. * * If @allow_non_utf8 is %FALSE, non-valid UTF-8 strings will be * replaced by question marks. diff --git a/libgimp/gimplayer.c b/libgimp/gimplayer.c index f26a143e5a..86275235c1 100644 --- a/libgimp/gimplayer.c +++ b/libgimp/gimplayer.c @@ -225,10 +225,10 @@ gimp_layer_new_from_pixbuf (GimpImage *image, * @progress_start: start of progress * @progress_end: end of progress * - * Create a new layer from a #cairo_surface_t. + * Create a new layer from a [type@cairo.Surface]. * * This procedure creates a new layer from the given - * #cairo_surface_t. The image has to be an RGB image and just like + * [type@cairo.Surface]. The image has to be an RGB image and just like * with gimp_layer_new() you will still need to add the layer to it. * * If you pass @progress_end > @progress_start to this function, diff --git a/libgimp/gimpparamspecs-body.c b/libgimp/gimpparamspecs-body.c index 04b0df83dc..ac57e5e52a 100644 --- a/libgimp/gimpparamspecs-body.c +++ b/libgimp/gimpparamspecs-body.c @@ -103,7 +103,7 @@ gimp_param_image_validate (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecImage specifying a - * #GIMP_TYPE_IMAGE property. + * [type@Image] property. * * See g_param_spec_internal() for details on property names. * @@ -210,7 +210,7 @@ gimp_param_item_validate (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecItem specifying a - * #GIMP_TYPE_ITEM property. + * [type@Item] property. * * See g_param_spec_internal() for details on property names. * @@ -290,7 +290,7 @@ gimp_param_drawable_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecDrawable specifying a - * #GIMP_TYPE_DRAWABLE property. + * [type@Drawable] property. * * See g_param_spec_internal() for details on property names. * @@ -370,7 +370,7 @@ gimp_param_layer_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecLayer specifying a - * #GIMP_TYPE_LAYER property. + * [type@Layer] property. * * See g_param_spec_internal() for details on property names. * @@ -450,7 +450,7 @@ gimp_param_text_layer_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecTextLayer specifying a - * #GIMP_TYPE_TEXT_LAYER property. + * [type@TextLayer] property. * * See g_param_spec_internal() for details on property names. * @@ -530,7 +530,7 @@ gimp_param_channel_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecChannel specifying a - * #GIMP_TYPE_CHANNEL property. + * [type@Channel] property. * * See g_param_spec_internal() for details on property names. * @@ -610,7 +610,7 @@ gimp_param_layer_mask_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecLayerMask specifying a - * #GIMP_TYPE_LAYER_MASK property. + * [type@LayerMask] property. * * See g_param_spec_internal() for details on property names. * @@ -690,7 +690,7 @@ gimp_param_selection_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecSelection specifying a - * #GIMP_TYPE_SELECTION property. + * [type@Selection] property. * * See g_param_spec_internal() for details on property names. * @@ -770,7 +770,7 @@ gimp_param_vectors_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecVectors specifying a - * #GIMP_TYPE_VECTORS property. + * [type@Vectors] property. * * See g_param_spec_internal() for details on property names. * @@ -877,7 +877,7 @@ gimp_param_display_validate (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecDisplay specifying a - * #GIMP_TYPE_DISPLAY property. + * [type@Display] property. * * See g_param_spec_internal() for details on property names. * @@ -984,7 +984,7 @@ gimp_param_resource_validate (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecResource specifying a - * #GIMP_TYPE_RESOURCE property. + * [type@Resource] property. * * See g_param_spec_internal() for details on property names. * @@ -1064,7 +1064,7 @@ gimp_param_brush_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecBrush specifying a - * #GIMP_TYPE_BRUSH property. + * [type@Brush] property. * * See g_param_spec_internal() for details on property names. * @@ -1144,7 +1144,7 @@ gimp_param_pattern_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecPattern specifying a - * #GIMP_TYPE_PATTERN property. + * [type@Pattern] property. * * See g_param_spec_internal() for details on property names. * @@ -1224,7 +1224,7 @@ gimp_param_gradient_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecGradient specifying a - * #GIMP_TYPE_GRADIENT property. + * [type@Gradient] property. * * See g_param_spec_internal() for details on property names. * @@ -1304,7 +1304,7 @@ gimp_param_palette_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecPalette specifying a - * #GIMP_TYPE_PALETTE property. + * [type@Palette] property. * * See g_param_spec_internal() for details on property names. * @@ -1384,7 +1384,7 @@ gimp_param_font_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecFont specifying a - * #GIMP_TYPE_FONT property. + * [type@Font] property. * * See g_param_spec_internal() for details on property names. * diff --git a/libgimpbase/gimpparamspecs.c b/libgimpbase/gimpparamspecs.c index c6fb65bbdd..c45da4b306 100644 --- a/libgimpbase/gimpparamspecs.c +++ b/libgimpbase/gimpparamspecs.c @@ -177,7 +177,7 @@ gimp_param_array_values_cmp (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecArray specifying a - * #GIMP_TYPE_ARRAY property. + * [type@Array] property. * * See g_param_spec_internal() for details on property names. * @@ -312,7 +312,7 @@ gimp_param_int32_array_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecInt32Array specifying a - * #GIMP_TYPE_INT32_ARRAY property. + * %GIMP_TYPE_INT32_ARRAY property. * * See g_param_spec_internal() for details on property names. * @@ -482,7 +482,7 @@ gimp_param_float_array_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecFloatArray specifying a - * #GIMP_TYPE_FLOAT_ARRAY property. + * %GIMP_TYPE_FLOAT_ARRAY property. * * See g_param_spec_internal() for details on property names. * @@ -652,7 +652,7 @@ gimp_param_rgb_array_init (GParamSpec *pspec) * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecRGBArray specifying a - * #GIMP_TYPE_RGB_ARRAY property. + * %GIMP_TYPE_RGB_ARRAY property. * * See g_param_spec_internal() for details on property names. * @@ -983,7 +983,7 @@ gimp_param_object_array_values_cmp (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecObjectArray specifying a - * #GIMP_TYPE_OBJECT_ARRAY property. + * [type@ObjectArray] property. * * See g_param_spec_internal() for details on property names. * diff --git a/libgimpbase/gimpparasite.c b/libgimpbase/gimpparasite.c index a6cad6f91a..c75bd6f7ba 100644 --- a/libgimpbase/gimpparasite.c +++ b/libgimpbase/gimpparasite.c @@ -163,7 +163,7 @@ gimp_param_parasite_values_cmp (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecParasite specifying a - * #GIMP_TYPE_PARASITE property. + * [type@Parasite] property. * * See g_param_spec_internal() for details on property names. * diff --git a/libgimpbase/gimpvaluearray.c b/libgimpbase/gimpvaluearray.c index 971e77b234..4ce140539c 100644 --- a/libgimpbase/gimpvaluearray.c +++ b/libgimpbase/gimpvaluearray.c @@ -727,7 +727,7 @@ gimp_param_value_array_values_cmp (GParamSpec *pspec, * @flags: Flags for the property specified. * * Creates a new #GimpParamSpecValueArray specifying a - * #G_TYPE_VALUE_ARRAY property. + * [type@GObject.ValueArray] property. * * See g_param_spec_internal() for details on property names. *