]> Pileus Git - ~andy/gtk/commitdiff
Fix annotations for gdk_window_get_device_position()
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 7 Sep 2010 17:58:36 +0000 (13:58 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Tue, 7 Sep 2010 18:03:18 +0000 (14:03 -0400)
Add (out) and (transfer none) as appropriate

gdk/gdkwindow.c

index 0026c424a5af96bc527725fd331899032aedd83a..4ecb2ccaf49a2828124e6b230bd94090fcbccd7a 100644 (file)
@@ -5442,15 +5442,15 @@ gdk_window_get_pointer (GdkWindow         *window,
  * gdk_window_get_device_position:
  * @window: a #GdkWindow.
  * @device: #GdkDevice to query to.
- * @x: return location for the X coordinate of @device, or %NULL.
- * @y: return location for the Y coordinate of @device, or %NULL.
- * @mask: return location for the modifier mask, or %NULL.
+ * @x: (out) (allow-none): return location for the X coordinate of @device, or %NULL.
+ * @y: (out) (allow-none): return location for the Y coordinate of @device, or %NULL.
+ * @mask: (out) (allow-none): return location for the modifier mask, or %NULL.
  *
  * Obtains the current device position and modifier state.
  * The position is given in coordinates relative to the upper left
  * corner of @window.
  *
- * Returns: The window underneath @device (as with
+ * Return value: (transfer none): The window underneath @device (as with
  * gdk_display_get_window_at_device_position()), or %NULL if the
  * window is not known to GDK.
  *