drag: add missing introspection annotations

gtk_gesture_drag_get_start_point and gtk_gesture_drag_get_offset
have out args that need to be annotated.

This commit adds the (out) and (nullable) annotations as appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=734292
This commit is contained in:
Ray Strode 2014-08-05 10:22:03 -04:00
parent e03b6bdfec
commit 08b17ab344

View File

@ -196,8 +196,8 @@ gtk_gesture_drag_new (GtkWidget *widget)
/** /**
* gtk_gesture_drag_get_start_point: * gtk_gesture_drag_get_start_point:
* @gesture: a #GtkGesture * @gesture: a #GtkGesture
* @x: X coordinate for the drag start point * @x: (out) (nullable): X coordinate for the drag start point
* @y: Y coordinate for the drag start point * @y: (out) (nullable): Y coordinate for the drag start point
* *
* If the @gesture is active, this function returns %TRUE * If the @gesture is active, this function returns %TRUE
* and fills in @x and @y with the drag start coordinates, * and fills in @x and @y with the drag start coordinates,
@ -236,8 +236,8 @@ gtk_gesture_drag_get_start_point (GtkGestureDrag *gesture,
/** /**
* gtk_gesture_drag_get_offset: * gtk_gesture_drag_get_offset:
* @gesture: a #GtkGesture * @gesture: a #GtkGesture
* @x: X offset for the current point * @x: (out) (nullable): X offset for the current point
* @y: Y offset for the current point * @y: (out) (nullable): Y offset for the current point
* *
* If the @gesture is active, this function returns %TRUE and * If the @gesture is active, this function returns %TRUE and
* fills in @x and @y with the coordinates of the current point, * fills in @x and @y with the coordinates of the current point,