From e8e91b62c896223d8f7bc4421862b87ef002a972 Mon Sep 17 00:00:00 2001 From: Emanuele Aina Date: Sat, 25 Aug 2012 16:02:34 +0200 Subject: [PATCH] gesture-action: add allow-none annotations to getters https://bugzilla.gnome.org/show_bug.cgi?id=681648 --- clutter/clutter-gesture-action.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/clutter/clutter-gesture-action.c b/clutter/clutter-gesture-action.c index c4bb707fc..ace980b86 100644 --- a/clutter/clutter-gesture-action.c +++ b/clutter/clutter-gesture-action.c @@ -508,8 +508,10 @@ clutter_gesture_action_new (void) * clutter_gesture_action_get_press_coords: * @action: a #ClutterGestureAction * @device: currently unused, set to 0 - * @press_x: (out): return location for the press event's X coordinate - * @press_y: (out): return location for the press event's Y coordinate + * @press_x: (out) (allow-none): return location for the press + * event's X coordinate + * @press_y: (out) (allow-none): return location for the press + * event's Y coordinate * * Retrieves the coordinates, in stage space, of the press event * that started the dragging for an specific pointer device @@ -540,9 +542,9 @@ clutter_gesture_action_get_press_coords (ClutterGestureAction *action, * clutter_gesture_action_get_motion_coords: * @action: a #ClutterGestureAction * @device: currently unused, set to 0 - * @motion_x: (out): return location for the latest motion + * @motion_x: (out) (allow-none): return location for the latest motion * event's X coordinate - * @motion_y: (out): return location for the latest motion + * @motion_y: (out) (allow-none): return location for the latest motion * event's Y coordinate * * Retrieves the coordinates, in stage space, of the latest motion @@ -574,8 +576,10 @@ clutter_gesture_action_get_motion_coords (ClutterGestureAction *action, * clutter_gesture_action_get_release_coords: * @action: a #ClutterGestureAction * @device: currently unused, set to 0 - * @release_x: (out): return location for the X coordinate of the last release - * @release_y: (out): return location for the Y coordinate of the last release + * @release_x: (out) (allow-none): return location for the X coordinate of + * the last release + * @release_y: (out) (allow-none): return location for the Y coordinate of + * the last release * * Retrieves the coordinates, in stage space, of the point where the pointer * device was last released.