[libvirt] [sandbox PATCH 2/2] Remove all uses of g_type_class_add_private()

Daniel P. Berrangé berrange at redhat.com
Mon Aug 20 09:06:08 UTC 2018


On Mon, Aug 20, 2018 at 10:15:06AM +0200, Andrea Bolognani wrote:
> The API has been deprecated, which causes build failures
> on Fedora Rawhide; use the G_DEFINE_TYPE_WITH_PRIVATE()
> macro instead.
> 
> This requires bumping the minimum GLib version to 2.38.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  configure.ac                                                 | 2 +-
>  libvirt-sandbox/libvirt-sandbox-builder-container.c          | 4 +---
>  libvirt-sandbox/libvirt-sandbox-builder-initrd.c             | 4 +---
>  libvirt-sandbox/libvirt-sandbox-builder-machine.c            | 4 +---
>  libvirt-sandbox/libvirt-sandbox-builder.c                    | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-disk.c                | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-initrd.c              | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-interactive.c         | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-mount-file.c          | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-mount-guest-bind.c    | 5 ++---
>  libvirt-sandbox/libvirt-sandbox-config-mount-host-bind.c     | 5 ++---
>  libvirt-sandbox/libvirt-sandbox-config-mount-host-image.c    | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-mount-ram.c           | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-mount.c               | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-network-address.c     | 4 +---
>  .../libvirt-sandbox-config-network-filterref-parameter.c     | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-network-filterref.c   | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-network-route.c       | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-network.c             | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-service-generic.c     | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-service-systemd.c     | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config-service.c             | 4 +---
>  libvirt-sandbox/libvirt-sandbox-config.c                     | 4 +---
>  libvirt-sandbox/libvirt-sandbox-console-raw.c                | 4 +---
>  libvirt-sandbox/libvirt-sandbox-console-rpc.c                | 4 +---
>  libvirt-sandbox/libvirt-sandbox-console.c                    | 4 +---
>  libvirt-sandbox/libvirt-sandbox-context-interactive.c        | 4 +---
>  libvirt-sandbox/libvirt-sandbox-context-service.c            | 4 +---
>  libvirt-sandbox/libvirt-sandbox-context.c                    | 4 +---
>  29 files changed, 31 insertions(+), 85 deletions(-)


Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


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