summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-08-23 17:20:39 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-08-23 17:20:39 +0400
commit0d7a0132bbe6810bdfc2d55b949bafd4360d1155 (patch)
treea8efdf8f4fa2adf4c2a4935727d93aa935a1b27b /gdk
parentcad32636cec29de26701af5adaecd09285effced (diff)
downloadgtk+-0d7a0132bbe6810bdfc2d55b949bafd4360d1155.tar.gz
gdk/win32: annotate gdk_win32_surface_lookup_for_display
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'gdk')
-rw-r--r--gdk/win32/gdksurface-win32.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index a2f60eb3ec..47e54ac923 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -4241,6 +4241,13 @@ gdk_win32_surface_focus (GdkSurface *window,
SetFocus (GDK_SURFACE_HWND (window));
}
+/**
+ * gdk_win32_surface_lookup_for_display:
+ * @display: a %GdkDisplay
+ * @anid: a HWND window handle
+ *
+ * Returns: (nullable): the %GdkSurface associated with the given @anid, or %NULL.
+ */
GdkSurface *
gdk_win32_surface_lookup_for_display (GdkDisplay *display,
HWND anid)