[libvirt] [libvirt-designer][PATCH] gvir_designer_domain_add_disk_full: Adapt to latest libvirt-glib

Christophe Fergeau cfergeau at redhat.com
Thu Jan 30 13:13:05 UTC 2014

On Thu, Jan 30, 2014 at 01:23:05PM +0100, Michal Privoznik wrote:
> With libvirt-glib update, I've noticed a deprecation warning:
> libvirt-designer-domain.c: In function 'gvir_designer_domain_add_disk_full':
> libvirt-designer-domain.c:1610:9: error: 'gvir_config_domain_disk_set_driver_type' is deprecated (declared at /usr/include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-disk.h:145): Use 'gvir_config_domain_disk_set_driver_format' instead [-Werror=deprecated-declarations]
>          gvir_config_domain_disk_set_driver_type(disk, format);
>          ^
> cc1: all warnings being treated as errors

ACK, though it seems libvirt-designer-internal.h is getting installed,
which is unwanted (but unrelated to this patch). libvirt-gconfig version
has been bumped to 0.1.8 in git, so configure.ac could be adjusted to
require that as the needed functions are not in older releases.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140130/769c8207/attachment-0001.sig>

More information about the libvir-list mailing list