summaryrefslogtreecommitdiff
path: root/gtk/gtkgesturedrag.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2014-08-05 10:22:03 -0400
committerRay Strode <rstrode@redhat.com>2014-08-06 10:14:47 -0400
commit08b17ab344ad875117efb3a71833ba84df46a9fc (patch)
treee995ffb3488227ef1a0b2e5047f841943026a26e /gtk/gtkgesturedrag.c
parente03b6bdfeccb2ba2ffcde1168d681331e91f4a53 (diff)
downloadgtk+-08b17ab344ad875117efb3a71833ba84df46a9fc.tar.gz
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
Diffstat (limited to 'gtk/gtkgesturedrag.c')
-rw-r--r--gtk/gtkgesturedrag.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkgesturedrag.c b/gtk/gtkgesturedrag.c
index 0b53285cee..bee5596be5 100644
--- a/gtk/gtkgesturedrag.c
+++ b/gtk/gtkgesturedrag.c
@@ -196,8 +196,8 @@ gtk_gesture_drag_new (GtkWidget *widget)
/**
* gtk_gesture_drag_get_start_point:
* @gesture: a #GtkGesture
- * @x: X coordinate for the drag start point
- * @y: Y coordinate for the drag start point
+ * @x: (out) (nullable): X 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
* 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:
* @gesture: a #GtkGesture
- * @x: X offset for the current point
- * @y: Y offset for the current point
+ * @x: (out) (nullable): X offset for the current point
+ * @y: (out) (nullable): Y offset for the current point
*
* If the @gesture is active, this function returns %TRUE and
* fills in @x and @y with the coordinates of the current point,