gdk/win32: annotate filter callbacks
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 23 Aug 2022 08:57:20 +0000 (12:57 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 23 Aug 2022 08:57:20 +0000 (12:57 +0400)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
gdk/win32/gdkdisplay-win32.c

index a544bf3827df23dd76edd3886649699379eaaae8..30280457468984a6be72067984920564b3f072cb 100644 (file)
@@ -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().
  */