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