diff options
author | Emanuele Aina <emanuele.aina@collabora.com> | 2012-08-25 16:02:34 +0200 |
---|---|---|
committer | Gustavo Noronha Silva <gns@gnome.org> | 2012-08-28 09:57:30 -0300 |
commit | e8e91b62c896223d8f7bc4421862b87ef002a972 (patch) | |
tree | e9ee7f67230aa0175645e8b37f6dc805f591c822 | |
parent | 5b8c6eb84208041245d551076645780753267795 (diff) | |
download | clutter-e8e91b62c896223d8f7bc4421862b87ef002a972.tar.gz |
gesture-action: add allow-none annotations to getters
https://bugzilla.gnome.org/show_bug.cgi?id=681648
-rw-r--r-- | clutter/clutter-gesture-action.c | 16 |
1 files 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. |