[Spice-devel] [PATCH spice-gtk v3 0/6] Avoid usage of deprecated functions
Pavel Grunt
pgrunt at redhat.com
Fri Jan 20 15:53:47 UTC 2017
Hi,
this is a follow up to Francois's patches which avoided some deprecated
warnings in the SpiceDisplay widget. The main difference is the usage
of GdkSeat api that was introduced in Gtk 3.20.
Getting rid of deprecated symbols is neccessary to be able to compile
with the gtk master.
v3:
- changed to use gdk_cursor_new_from_name which should work under wayland (Christophe)
- replaced deprecated GtkVBox by GtkBox
v2 (Frediano's review):
- removed usage of deprecated function (gdk_display_warp_pointer, gdk_window_get_pointer)
- kept G_GNUC_BEGIN_IGNORE_DEPRECATIONS guards to avoid warning with gtk < 3.20
Pavel Grunt (6):
gtk: Use gdk_cursor_new_from_name
gtk: Use gdk_window_get_device_position
gtk: Use gdk_device_warp
gtk: Avoid deprecated gdk_keyboard_grab
gtk: Avoid deprecated gdk_pointer_grab
usb-device-widget: Do not use GtkVBox
src/spice-widget.c | 133 ++++++++++++++++++++++++++++++++++++------------
src/usb-device-widget.c | 4 +-
2 files changed, 103 insertions(+), 34 deletions(-)
--
2.11.0
More information about the Spice-devel
mailing list