Re: [libvirt-glib] Add gvir_xml_set_error

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

 



On Mon, Dec 05, 2011 at 11:27:04AM +0000, Daniel P. Berrange wrote:
> On Fri, Dec 02, 2011 at 06:00:15PM +0100, Christophe Fergeau wrote:
> > This mirrors g_set_error, but uses gvir_xml_error_new. The main
> > benefit of using gvxr_xml_set_error over gvir_xml_error_new is that
> > it handles NULL GError **.
> > ---
> >  libvirt-gconfig/libvirt-gconfig-helpers-private.h |    2 +
> >  libvirt-gconfig/libvirt-gconfig-helpers.c         |   40 ++++++++++++++++-----
> >  libvirt-gconfig/libvirt-gconfig-object.c          |   32 ++++++----------
> >  3 files changed, 45 insertions(+), 29 deletions(-)
> 
> I have almost exactly this code in a patch of my own,

 Ah :((

Attachment: pgpwbUHAQR5Ik.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]