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

Christophe Fergeau cfergeau at redhat.com
Thu Apr 18 16:21:14 UTC 2013


On Wed, Apr 17, 2013 at 07:40:56PM +0300, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130418/67ceb8c8/attachment-0001.sig>


More information about the libvir-list mailing list