Re: [libvirt] [libvirt-glib] Add gvir_xml_set_error

2011-12-05 Thread Daniel P. Berrange
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 +

Re: [libvirt] [libvirt-glib] Add gvir_xml_set_error

2011-12-05 Thread Christophe Fergeau
On Mon, Dec 05, 2011 at 11:27:04AM +, 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] [libvirt-glib] Add gvir_xml_set_error

2011-12-02 Thread Christophe Fergeau
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