[gtk: 1/10] gdk/win32: annotate filter callbacks




commit a53650d9da55a9a7ca522c38e3dc08f1f0c4a3f8
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Tue Aug 23 12:57:20 2022 +0400

    gdk/win32: annotate filter callbacks
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 gdk/win32/gdkdisplay-win32.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index a544bf3827..3028045746 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -51,8 +51,8 @@ static int debug_indent = 0;
 /**
  * gdk_win32_display_add_filter:
  * @display: a `GdkWin32Display`
- * @function: filter callback
- * @data: data to pass to filter callback
+ * @function: (scope notified): filter callback
+ * @data: (closure): data to pass to filter callback
  *
  * Adds an event filter to @window, allowing you to intercept messages
  * before they reach GDK. This is a low-level operation and makes it
@@ -136,8 +136,8 @@ _gdk_win32_message_filter_unref (GdkWin32Display       *display,
 /**
  * gdk_win32_display_remove_filter:
  * @display: A `GdkWin32Display`
- * @function: previously-added filter function
- * @data: user data for previously-added filter function
+ * @function: (scope notified): previously-added filter function
+ * @data: (closure): user data for previously-added filter function
  *
  * Remove a filter previously added with gdk_win32_display_add_filter().
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]