From dc9e54887a096ee41855ce9a3cd326a386b32047 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 24 Jul 2015 11:51:07 +0200 Subject: [PATCH] GdkEvent: Fix introspection annotations on gdk_event_get(_root)_coords These functions respect NULLs being passed, so the return values are (nullable). --- gdk/gdkevents.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 3d8d7bc290..b8b9554db8 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -996,8 +996,8 @@ gdk_event_get_state (const GdkEvent *event, /** * gdk_event_get_coords: * @event: a #GdkEvent - * @x_win: (out): location to put event window x coordinate - * @y_win: (out): location to put event window y coordinate + * @x_win: (out) (nullable): location to put event window x coordinate + * @y_win: (out) (nullable): location to put event window y coordinate * * Extract the event window relative x/y coordinates from an event. * @@ -1062,8 +1062,8 @@ gdk_event_get_coords (const GdkEvent *event, /** * gdk_event_get_root_coords: * @event: a #GdkEvent - * @x_root: (out): location to put root window x coordinate - * @y_root: (out): location to put root window y coordinate + * @x_root: (out) (nullable): location to put root window x coordinate + * @y_root: (out) (nullable): location to put root window y coordinate * * Extract the root window relative x/y coordinates from an event. *