On Wed, Apr 17, 2013 at 07:40:56PM +0300, Zeeshan Ali (Khattak) wrote: > From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx> > > 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@xxxxxxxxxx/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:
pgpGvTJkKe9pi.pgp
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list