summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2010-12-04 14:55:11 +0100
committerPaolo Borelli <pborelli@gnome.org>2010-12-04 15:47:50 +0100
commitcd76b057e9693b6919f4ccbe40ce205efc8d3caf (patch)
tree344ffa08b4194d854b85c23a960c202e8e7c0722
parent1c87180d5d22fd52a870d8dcf51cddc146eda2e0 (diff)
downloadgtk+-cd76b057e9693b6919f4ccbe40ce205efc8d3caf.tar.gz
Annotate gdk_window_get_geometry, get_position and get_origin
-rw-r--r--gdk/gdkwindow.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 630c3a1b66..4307f34ae9 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2276,8 +2276,8 @@ gdk_window_has_native (GdkWindow *window)
/**
* gdk_window_get_position:
* @window: a #GdkWindow
- * @x: X coordinate of window
- * @y: Y coordinate of window
+ * @x: (out) (allow-none): X coordinate of window
+ * @y: (out) (allow-none): Y coordinate of window
*
* Obtains the position of the window as reported in the
* most-recently-processed #GdkEventConfigure. Contrast with
@@ -6805,11 +6805,11 @@ gdk_window_set_device_cursor (GdkWindow *window,
/**
* gdk_window_get_geometry:
* @window: a #GdkWindow
- * @x: return location for X coordinate of window (relative to its parent)
- * @y: return location for Y coordinate of window (relative to its parent)
- * @width: return location for width of window
- * @height: return location for height of window
- * @depth: return location for bit depth of window
+ * @x: (out) (allow-none): return location for X coordinate of window (relative to its parent)
+ * @y: (out) (allow-none): return location for Y coordinate of window (relative to its parent)
+ * @width: (out) (allow-none): return location for width of window
+ * @height: (out) (allow-none): return location for height of window
+ * @depth: (out) (allow-none): return location for bit depth of window
*
* Any of the return location arguments to this function may be %NULL,
* if you aren't interested in getting the value of that field.
@@ -6937,8 +6937,8 @@ gdk_window_get_height (GdkWindow *window)
/**
* gdk_window_get_origin:
* @window: a #GdkWindow
- * @x: return location for X coordinate
- * @y: return location for Y coordinate
+ * @x: (out) (allow-none): return location for X coordinate
+ * @y: (out) (allow-none): return location for Y coordinate
*
* Obtains the position of a window in root window coordinates.
* (Compare with gdk_window_get_position() and