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

Re: [libvirt] [libvirt-glib] vapi: Get rid of redundant LibvirtGObject-1.0.metadata



On Wed, Apr 17, 2013 at 07:40:56PM +0300, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
> 
> Achieve the same through GIR annotations, just like we already do for
> libvirt-glib.
> ---
>  libvirt-gobject/libvirt-gobject-main.c | 8 ++++++--
>  vapi/LibvirtGObject-1.0.metadata       | 2 --
>  vapi/Makefile.am                       | 2 +-
>  3 files changed, 7 insertions(+), 5 deletions(-)
>  delete mode 100644 vapi/LibvirtGObject-1.0.metadata

This is mostly the same as
http://www.mail-archive.com/libvir-list redhat com/msg75627.html

> 
> diff --git a/libvirt-gobject/libvirt-gobject-main.c b/libvirt-gobject/libvirt-gobject-main.c
> index 31d2514..f9f6e2d 100644
> --- a/libvirt-gobject/libvirt-gobject-main.c
> +++ b/libvirt-gobject/libvirt-gobject-main.c
> @@ -33,7 +33,9 @@
>  /**
>   * gvir_init_object:
>   * @argc: (inout): pointer to application's argc
> - * @argv: (inout) (array length=argc) (allow-none): pointer to application's argv
> + * @argv: (array length=argc) (inout) (allow-none) (transfer none): Address of the
> + *     <parameter>argv</parameter> parameter of main(), or %NULL. Any options
> + *     understood by GTK+ are stripped before return.

The "Any options understood by GTK+ are stripped before return" part is not
correct.

Christophe

Attachment: pgpLgTvHkspKj.pgp
Description: PGP signature


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