The associated surface window handle is a HWND, not a HGDIOBJ.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
impl_class->compute_size = _gdk_win32_surface_compute_size;
}
-HGDIOBJ
+HWND
gdk_win32_surface_get_handle (GdkSurface *window)
{
if (!GDK_IS_WIN32_SURFACE (window))
gpointer gdk_win32_handle_table_lookup (HWND handle);
/* Translate from window to Windows handle */
GDK_AVAILABLE_IN_ALL
-HGDIOBJ gdk_win32_surface_get_handle (GdkSurface *window);
+HWND gdk_win32_surface_get_handle (GdkSurface *window);
GDK_AVAILABLE_IN_ALL
GdkSurface * gdk_win32_surface_lookup_for_display (GdkDisplay *display,
/* Dummy header for the Win32 backend. */
typedef void *HDC;
-typedef void *HGDIOBJ;
typedef void *HICON;
typedef void *HWND;