diff options
author | Igor Mitsyanko <i.mitsyanko@gmail.com> | 2013-05-10 18:59:45 +0400 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-05-13 09:52:49 -0500 |
commit | b087143b4d010451208264b7c841436aafe1cbb1 (patch) | |
tree | 861fd1462a9c3678613f75a37ea66e7f88045993 /qmp.c | |
parent | 9e1c2ec8fd8d9a9ee299ea86c5f6c986fe25e838 (diff) | |
download | hqemu-b087143b4d010451208264b7c841436aafe1cbb1.zip hqemu-b087143b4d010451208264b7c841436aafe1cbb1.tar.gz |
ui/gtk.c: do not use gdk_display_warp_pointer when GTK ver >3.0
Commit 9697f5d2d38e5dd1e64e8e0d64436e6d44e7b1fe "gtk: custom cursor support"
introduced unconditional usage of gdk_display_warp_pointer(). This function
is marked as deprecated since GTK-3.0, and triggers warning (error with -Werror)
during compilation.
Conditionally change gdk_display_warp_pointer() method usage to gdk_device_warp
usage, as suggested by compiler.
Signed-off-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
Message-id: 1368197985-44608-1-git-send-email-i.mitsyanko@gmail.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qmp.c')
0 files changed, 0 insertions, 0 deletions