[gtk+] Fix annotations for gdk_window_get_device_position()
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix annotations for gdk_window_get_device_position()
- Date: Tue, 7 Sep 2010 18:03:32 +0000 (UTC)
commit d04e557370fcd95b35eb10e060598f742e8faa60
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Tue Sep 7 13:58:36 2010 -0400
Fix annotations for gdk_window_get_device_position()
Add (out) and (transfer none) as appropriate
gdk/gdkwindow.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 0026c42..4ecb2cc 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]