[gtk: 9/10] gdk/win32: annotate gdk_win32_surface_lookup_for_display
- From: Luca Bacci <lbacci src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 9/10] gdk/win32: annotate gdk_win32_surface_lookup_for_display
- Date: Wed, 24 Aug 2022 09:41:12 +0000 (UTC)
commit 0d7a0132bbe6810bdfc2d55b949bafd4360d1155
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Tue Aug 23 17:20:39 2022 +0400
gdk/win32: annotate gdk_win32_surface_lookup_for_display
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
gdk/win32/gdksurface-win32.c | 7 +++++++
1 file changed, 7 insertions(+)
---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]