On Mon, Jun 23, 2014 at 05:29:11PM +0200, Timm Bäder wrote: > ... which returns a GList of GVirDomainSnapshots, i.e. without any tree > structure or other relationship between the snapshots. > --- > libvirt-gobject/libvirt-gobject-domain.c | 21 +++++++++++++++++++++ > libvirt-gobject/libvirt-gobject-domain.h | 4 ++++ > libvirt-gobject/libvirt-gobject.sym | 1 + > 3 files changed, 26 insertions(+) > > diff --git a/libvirt-gobject/libvirt-gobject-domain.c b/libvirt-gobject/libvirt-gobject-domain.c > index f6b5837..2da99df 100644 > --- a/libvirt-gobject/libvirt-gobject-domain.c > +++ b/libvirt-gobject/libvirt-gobject-domain.c > @@ -1573,3 +1573,24 @@ gboolean gvir_domain_fetch_snapshots(GVirDomain *dom, > g_free(snapshots); > return TRUE; > } > + > +/** > + * gvir_domain_get_snapshots: > + * @dom: The domain > + * Returns: (element-type LibvirtGObject.DomainSnapshot) (transfer full): A list of This line is a few characters too long, ACK to the patch otherwise. Christophe
Attachment:
pgpcmLlwNW946.pgp
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list