[Spice-devel] [PATCH spice-gtk v2 0/5] Avoid usage of deprecated functions

Pavel Grunt pgrunt at redhat.com
Mon Dec 19 16:26:31 UTC 2016


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.

v2 (Frediano's review):
 - removed usage of deprecated function (gdk_display_warp_pointer, gdk_window_get_pointer)
 - keep G_GNUC_BEGIN_IGNORE_DEPRECATIONS guards to avoid warning with gtk < 3.20

Pavel Grunt (5):
  gtk: Use gdk_cursor_new_for_display
  gtk: Use gdk_window_get_device_position
  gtk: Use gdk_device_warp
  gtk: Avoid deprecated gdk_keyboard_grab
  gtk: Avoid deprecated gdk_pointer_grab

 src/spice-widget.c | 123 +++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 92 insertions(+), 31 deletions(-)

-- 
2.11.0



More information about the Spice-devel mailing list