summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkwin32misc.h
diff options
context:
space:
mode:
authorLuca Bacci <luca.bacci982@gmail.com>2022-08-24 09:41:11 +0000
committerLuca Bacci <luca.bacci982@gmail.com>2022-08-24 09:41:11 +0000
commitef831235fe20274f6ee8835509dfaf5964bf72f1 (patch)
tree125edf75a7cf499262de98fc05b6cb131e2a8b7a /gdk/win32/gdkwin32misc.h
parent5286e9405d113bdcf831cc3eeeb7ce3b8f06c3d9 (diff)
parent0d7a0132bbe6810bdfc2d55b949bafd4360d1155 (diff)
downloadgtk+-ef831235fe20274f6ee8835509dfaf5964bf72f1.tar.gz
Merge branch 'win32-gir' into 'main'
win32: various GI annotations and fixes See merge request GNOME/gtk!4977
Diffstat (limited to 'gdk/win32/gdkwin32misc.h')
-rw-r--r--gdk/win32/gdkwin32misc.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/gdk/win32/gdkwin32misc.h b/gdk/win32/gdkwin32misc.h
index 3582e81572..990b8d0156 100644
--- a/gdk/win32/gdkwin32misc.h
+++ b/gdk/win32/gdkwin32misc.h
@@ -68,18 +68,17 @@ G_BEGIN_DECLS
#define XBUTTON2 2
#endif
-/* Return true if the GdkSurface is a win32 implemented window */
-GDK_AVAILABLE_IN_ALL
-gboolean gdk_win32_surface_is_win32 (GdkSurface *window);
-GDK_AVAILABLE_IN_ALL
-HWND gdk_win32_surface_get_impl_hwnd (GdkSurface *window);
+GDK_DEPRECATED_IN_4_8_FOR(GDK_IS_WIN32_SURFACE)
+gboolean gdk_win32_surface_is_win32 (GdkSurface *surface);
+GDK_DEPRECATED_IN_4_8_FOR(gdk_win32_surface_get_handle)
+HWND gdk_win32_surface_get_impl_hwnd (GdkSurface *surface);
/* Return the Gdk* for a particular HANDLE */
GDK_AVAILABLE_IN_ALL
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 *surface);
GDK_AVAILABLE_IN_ALL
GdkSurface * gdk_win32_surface_lookup_for_display (GdkDisplay *display,