On Thu, Apr 11, 2013 at 6:28 PM, Christophe Fergeau <cfergeau(a)redhat.com> wrote:
On Thu, Apr 11, 2013 at 04:32:30PM +0300, Zeeshan Ali (Khattak)
wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak(a)gnome.org>
>
> This is mostly (modified) copy&paste from libvirt-glib.
> ---
>
> v3: Added .metadata file to correct init functions vapi.
>
> Makefile.am | 2 +-
> configure.ac | 37 +++++++++++++++++++++++++++++++++++++
> vapi/LibvirtDesigner-1.0.metadata | 2 ++
> vapi/Makefile.am | 28 ++++++++++++++++++++++++++++
> vapi/libvirt-designer-1.0.deps | 2 ++
> 5 files changed, 70 insertions(+), 1 deletion(-)
> create mode 100644 vapi/LibvirtDesigner-1.0.metadata
> create mode 100644 vapi/Makefile.am
> create mode 100644 vapi/libvirt-designer-1.0.deps
>
> diff --git a/vapi/LibvirtDesigner-1.0.metadata b/vapi/LibvirtDesigner-1.0.metadata
> new file mode 100644
> index 0000000..44f6726
> --- /dev/null
> +++ b/vapi/LibvirtDesigner-1.0.metadata
> @@ -0,0 +1,2 @@
> +init.argv unowned
> +init_check.argv unowned
Libvirt-glib handles this through gtk-doc annotations.
ah. Since libvirt-gobject use metadata file I thought thats the only
way. I'll correct this and libvirt-gobject as well.
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124