dnd: Make GdkDragContext::device a (construct-only) property

Desktop / GNOME / GTK - Benjamin Otte [redhat.com] - 27 April 2018 12:32 EDT

Also remove gdk_drag_context_set_device() and insist on backends using the property.

4aaeb7de19 dnd: Make GdkDragContext::device a (construct-only) property
gdk/broadway/gdkdnd-broadway.c | 4 +--
gdk/gdkdnd.c | 56 +++++++++++++++++++---------------------
gdk/gdkdndprivate.h | 2 --
gdk/quartz/GdkQuartzNSWindow.c | 9 +++----
gdk/quartz/gdkdnd-quartz.c | 4 +--
gdk/wayland/gdkdevice-wayland.c | 14 +++++++---
gdk/wayland/gdkdnd-wayland.c | 8 +++---
gdk/wayland/gdkprivate-wayland.h | 2 +-
gdk/win32/gdkdnd-win32.c | 3 +--
gdk/win32/gdkdrag-win32.c | 4 +--
gdk/win32/gdkdrop-win32.c | 4 +--
gdk/x11/gdkdnd-x11.c | 8 +++---
testsuite/gtk/notify.c | 2 +-
testsuite/gtk/objects-finalize.c | 7 ++---
14 files changed, 57 insertions(+), 70 deletions(-)

Upstream: git.gnome.org


  • Share