summaryrefslogtreecommitdiff
path: root/gdk/gdkseat.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2020-01-13 14:11:15 +1300
committerRobert Ancell <robert.ancell@canonical.com>2020-01-13 14:11:15 +1300
commitea9f0df67b7c1b3153f031651a3fec2fa07aa419 (patch)
tree885a3d37c4401563976a9ac5df51a73e360c6a09 /gdk/gdkseat.c
parent15c7980ba6b71852635bc928da213696a38eaf9e (diff)
downloadgtk+-ea9f0df67b7c1b3153f031651a3fec2fa07aa419.tar.gz
Fix incorrect use of GIR closure annotations.
They were being applied to the callback function, not the data that is passed to that function.
Diffstat (limited to 'gdk/gdkseat.c')
-rw-r--r--gdk/gdkseat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkseat.c b/gdk/gdkseat.c
index 35a8446a47..70bc02332d 100644
--- a/gdk/gdkseat.c
+++ b/gdk/gdkseat.c
@@ -248,10 +248,10 @@ gdk_seat_get_capabilities (GdkSeat *seat)
* elsewhere.
* @event: (nullable): the event that is triggering the grab, or %NULL if none
* is available.
- * @prepare_func: (nullable) (scope call) (closure prepare_func_data): function to
+ * @prepare_func: (nullable) (scope call): function to
* prepare the surface to be grabbed, it can be %NULL if @surface is
* visible before this call.
- * @prepare_func_data: user data to pass to @prepare_func
+ * @prepare_func_data: (closure): user data to pass to @prepare_func
*
* Grabs the seat so that all events corresponding to the given @capabilities
* are passed to this application until the seat is ungrabbed with gdk_seat_ungrab(),