GDK W32: Adapt to dest_surface removal, misc changes
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 16 Jun 2018 17:13:19 +0000 (17:13 +0000)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Jun 2018 21:49:53 +0000 (23:49 +0200)
commit997e8c1ae1e2ee28e47038865dbb47c6b902800f
treeb811c9b5d8c1c337f3d30d36dafdba51bc515f49
parentaa1f0cfd4f92201d249ba183ba6b2ae88223f56e
GDK W32: Adapt to dest_surface removal, misc changes

* There's no GdkDragContext->dest_surface anymore.
  Add dest_window field to GdkWin32DragContext,
  and use that instead.
* Remove unused function prototypes
* Add more comments
* Rename variables and fields from 'window' to 'surface'
  where appropriate
* Fix header indentation a bit
* Try to ensure that uninitialized/unknown handle variables
  and fields are set to INVALID_HANDLE_VALUE instead of NULL,
  as there may be cases where NULL is a valid handle value.
gdk/win32/gdkdrag-win32.c
gdk/win32/gdkdrop-win32.c
gdk/win32/gdkwin32dnd-private.h