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