Re: [libvirt-glib] Add gvir_xml_set_error

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

 



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, but also
updating libvirt-glib and libvirt-gobject at the same time.

https://www.redhat.com/archives/libvir-list/2011-December/msg00191.html

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]