Re: [PATCH core 08/10] wc: gtkdoc documentation



On 04/10/10 21:11, Víctor Manuel Jáquez Leal wrote:
> Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
> ---
>  libs/net/grl-net-wc.c |   77 +++++++++++++++++++++++++++++++++++++++++++++++++
>  libs/net/grl-net-wc.h |   23 ++++++++++++++
>  2 files changed, 100 insertions(+), 0 deletions(-)
> 
> diff --git a/libs/net/grl-net-wc.c b/libs/net/grl-net-wc.c
> index 0d45e66..c4ce7d0 100644
> --- a/libs/net/grl-net-wc.c
> +++ b/libs/net/grl-net-wc.c
> @@ -22,6 +22,15 @@
>   *
>   */

...

> @@ -382,12 +402,29 @@ get_url (GrlNetWc *self,
>    }
>  }
>  
> +/**
> + * grl_net_wc_new:
> + *
> + * Returns: (element-type Grl.NetWc): a new allocated instance of #GrlNetWc.
> + * Do g_object_unref() after use it.
> + */
>  GrlNetWc *
>  grl_net_wc_new (void)
>  {
>    return g_object_new (GRL_TYPE_NET_WC, NULL);
>  }

The annotation (element-type GrlNetWc) is not needed here.

I'll read it in more depth tomorrow :)


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