All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: kraxel@redhat.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] Gdk deprecations on fedora24/gdk 3.20
Date: Wed, 13 Apr 2016 12:24:01 +0100	[thread overview]
Message-ID: <20160413112400.GB6367@work-vm> (raw)

Hi Gerd,
  I tried building qemu head on f24, there are a bunch of gtk
deprecations:

(This is from gtk gtk3-3.20.2-1.fc24.x86_64)

/home/dgilbert/git/qemu/ui/gtk.c:479:5: error: ‘gdk_display_get_device_manager’ is deprecated: Use 'gdk_display_get_default_seat' instead [-Werror=deprecated-declarations]
     mgr = gdk_display_get_device_manager(dpy);
     ^~~
/usr/include/gtk-3.0/gdk/gdkdisplay.h:170:20: note: declared here
 GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dgilbert/git/qemu/ui/gtk.c:482:5: error: ‘gdk_device_manager_get_client_pointer’ is deprecated [-Werror=deprecated-declarations]
     gdk_device_warp(gdk_device_manager_get_client_pointer(mgr),
/home/dgilbert/git/qemu/ui/gtk.c:1317:5: error: ‘gdk_device_manager_list_devices’ is deprecated [-Werror=deprecated-declarations]
     GList *devs = gdk_device_manager_list_devices(mgr, GDK_DEVICE_TYPE_MASTER);
     ^~~~~
/home/dgilbert/git/qemu/ui/gtk.c:1327:13: error: ‘gdk_device_grab’ is deprecated: Use 'gdk_seat_grab' instead [-Werror=deprecated-declarations]
             gdk_device_grab(dev, win, GDK_OWNERSHIP_NONE, FALSE,
/home/dgilbert/git/qemu/ui/gtk.c:1330:13: error: ‘gdk_device_ungrab’ is deprecated: Use 'gdk_seat_ungrab' instead [-Werror=deprecated-declarations]
             gdk_device_ungrab(dev, GDK_CURRENT_TIME);
             ^~~~~~~~~~~~~~~~~
/home/dgilbert/git/qemu/ui/gtk.c:1400:5: error: ‘gdk_device_manager_get_client_pointer’ is deprecated [-Werror=deprecated-declarations]
     gdk_device_get_position(gdk_device_manager_get_client_pointer(mgr),
     ^~~~~~~~~~~~~~~~~~~~~~~

Dave

--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

             reply	other threads:[~2016-04-13 11:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 11:24 Dr. David Alan Gilbert [this message]
2016-04-13 11:56 ` [Qemu-devel] Gdk deprecations on fedora24/gdk 3.20 Paolo Bonzini
2016-04-13 11:57   ` Dr. David Alan Gilbert
2016-04-13 12:46 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160413112400.GB6367@work-vm \
    --to=dgilbert@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.