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

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

 



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.

Christophe

Attachment: pgp5ubcRRPnJN.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]