From 4adf86e462dbf1d432cf03c5d3de23314eeb3d0a Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Thu, 21 Feb 2013 22:53:05 +0100 Subject: [PATCH] adg: corrected some gir annotation --- src/adg/adg-dim.c | 10 +++++----- src/adg/adg-ldim.c | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/adg/adg-dim.c b/src/adg/adg-dim.c index 5261e1df..89762713 100644 --- a/src/adg/adg-dim.c +++ b/src/adg/adg-dim.c @@ -922,7 +922,7 @@ adg_dim_get_detached(AdgDim *dim) /** * adg_dim_set_value: * @dim: an #AdgDim - * @value: the value text + * @value: (allow-none): the value text * * Explicitely sets the text to use as value. If @value is %NULL or * was never set, an automatic text is calculated using the format @@ -970,8 +970,8 @@ adg_dim_get_value(AdgDim *dim) /** * adg_dim_set_limits: * @dim: an #AdgDim - * @min: the new minumum value - * @max: the new maximum value + * @min: (allow-none): the new minumum value + * @max: (allow-none): the new maximum value * * Shortcut to set both the limits at once. * @@ -991,7 +991,7 @@ adg_dim_set_limits(AdgDim *dim, const gchar *min, const gchar *max) /** * adg_dim_set_min: * @dim: an #AdgDim - * @min: the new minimum limit + * @min: (allow-none): the new minimum limit * * Sets the minimum value. Use %NULL as @min to disable it. * @@ -1033,7 +1033,7 @@ adg_dim_get_min(AdgDim *dim) /** * adg_dim_set_max: * @dim: an #AdgDim - * @max: the new maximum value + * @max: (allow-none): the new maximum value * * Sets the maximum value. Use %NULL as @max to disable it. * diff --git a/src/adg/adg-ldim.c b/src/adg/adg-ldim.c index 1926173a..799915e3 100644 --- a/src/adg/adg-ldim.c +++ b/src/adg/adg-ldim.c @@ -275,9 +275,9 @@ adg_ldim_new(void) /** * adg_ldim_new_full: - * @ref1: allow-none: the first reference point - * @ref2: allow-none: the second reference point - * @pos: allow-none: the position reference + * @ref1: (allow-none): the first reference point + * @ref2: (allow-none): the second reference point + * @pos: (allow-none): the position reference * @direction: angle where to extend the dimension * * Creates a new linear dimension, specifing all the needed properties in @@ -347,9 +347,9 @@ adg_ldim_new_full_explicit(gdouble ref1_x, gdouble ref1_y, /** * adg_ldim_new_full_from_model: * @model: transfer-none: the model from which the named pairs are taken - * @ref1: allow-none: the first reference point - * @ref2: allow-none: the second reference point - * @pos: allow-none: the position reference + * @ref1: (allow-none): the first reference point + * @ref2: (allow-none): the second reference point + * @pos: (allow-none): the position reference * @direction: angle where to extend the dimension * * Creates a new linear dimension, specifing all the needed properties in -- 2.11.4.GIT