[libvirt] [libvirt-glib][PATCH] Use new GObject define macros with private
Daniel P. Berrangé
berrange at redhat.com
Fri Aug 10 10:47:30 UTC 2018
On Fri, Aug 10, 2018 at 10:38:10AM +0100, Daniel P. Berrangé wrote:
> On Fri, Aug 10, 2018 at 11:29:30AM +0200, Michal Privoznik wrote:
> > G_ADD_PRIVATE was added in 2.38 and older functions are getting deprecated:
> > https://gitlab.gnome.org/GNOME/glib/merge_requests/7/commits
>
> Our min glib2 version is currently 2.36, since that's what RHEL-7 has.
>
> So this change would have to increase the min required version too.
Alternatively we could just use pragma to disable the deprecation warnings
around the g_add_private method call
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list