]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
gtk: fix compilation warning with gtk 3.22.2
authorAlberto Garcia <berto@igalia.com>
Wed, 26 Oct 2016 15:21:08 +0000 (18:21 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 28 Oct 2016 09:19:38 +0000 (11:19 +0200)
commit76d8f93b4a72d02f6af6ff4eda36b7630cd8417b
tree0e467c09b46b81cdf41f1f84db944e20e9aecb12
parentcb78d4a1efb177f093b9b9c2e3336a3b658af467
gtk: fix compilation warning with gtk 3.22.2

gdk_screen_get_width() is deprecated since gtk 3.22.2, use
gdk_monitor_get_geometry() instead if it's available.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: 20161026152108.12364-1-berto@igalia.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c