diff options
author | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-03-16 10:45:35 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2011-03-16 10:45:35 +0100 |
commit | 6e178a69fc73b45f66fc511f7a274b8fefc2e2e7 (patch) | |
tree | 5048c4200de3c4bb5480dc1f3f8ba55020f2269b /gdk | |
parent | 7039a30400e420af9b075e7e2c30c7d0b5876198 (diff) | |
download | gtk+-6e178a69fc73b45f66fc511f7a274b8fefc2e2e7.tar.gz |
[GI] Add missing (out) and (array) annotations
Backported from master commit 2fb1c064.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdk.c | 2 | ||||
-rw-r--r-- | gdk/gdkdisplay.c | 2 | ||||
-rw-r--r-- | gdk/gdkevents.c | 2 | ||||
-rw-r--r-- | gdk/gdkrectangle.c | 2 | ||||
-rw-r--r-- | gdk/gdkwindow.c | 22 |
5 files changed, 17 insertions, 13 deletions
@@ -225,7 +225,7 @@ gdk_pre_parse_libgtk_only (void) /** * gdk_parse_args: * @argc: the number of command line arguments. - * @argv: the array of command line arguments. + * @argv: (inout) (array length=argc): the array of command line arguments. * * Parse command line arguments, and store for future * use by calls to gdk_display_open(). diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index 18aefd251c..f7b43cf874 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -486,7 +486,7 @@ _gdk_display_enable_motion_hints (GdkDisplay *display) /** * gdk_display_get_pointer: * @display: a #GdkDisplay - * @screen: (allow-none): location to store the screen that the + * @screen: (out) (allow-none): location to store the screen that the * cursor is on, or %NULL. * @x: (out) (allow-none): location to store root window X coordinate of pointer, or %NULL. * @y: (out) (allow-none): location to store root window Y coordinate of pointer, or %NULL. diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 12a0ccae88..53833a0674 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -848,7 +848,7 @@ gdk_event_get_root_coords (const GdkEvent *event, /** * gdk_event_get_axis: * @event: a #GdkEvent - * @axis_use: (out): the axis use to look for + * @axis_use: the axis use to look for * @value: (out): location to store the value found * * Extract the axis value for a particular axis use from diff --git a/gdk/gdkrectangle.c b/gdk/gdkrectangle.c index 736fca075b..f50fc05897 100644 --- a/gdk/gdkrectangle.c +++ b/gdk/gdkrectangle.c @@ -32,7 +32,7 @@ * gdk_rectangle_union: * @src1: a #GdkRectangle * @src2: a #GdkRectangle - * @dest: return location for the union of @src1 and @src2 + * @dest: (out): return location for the union of @src1 and @src2 * * Calculates the union of two rectangles. * The union of rectangles @src1 and @src2 is the smallest rectangle which diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index c491846665..5a7cb9030b 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -529,8 +529,10 @@ gdk_window_class_init (GdkWindowObjectClass *klass) * @window: the offscreen window on which the signal is emitted * @offscreen-x: x coordinate in the offscreen window * @offscreen-y: y coordinate in the offscreen window - * @embedder-x: return location for the x coordinate in the embedder window - * @embedder-y: return location for the y coordinate in the embedder window + * @embedder-x: (out) (type double): return location for the x + * coordinate in the embedder window + * @embedder-y: (out) (type double): return location for the y + * coordinate in the embedder window * * The ::to-embedder signal is emitted to translate coordinates * in an offscreen window to its embedder. @@ -558,8 +560,10 @@ gdk_window_class_init (GdkWindowObjectClass *klass) * @window: the offscreen window on which the signal is emitted * @embedder-x: x coordinate in the embedder window * @embedder-y: y coordinate in the embedder window - * @offscreen-x: return location for the x coordinate in the offscreen window - * @offscreen-y: return location for the y coordinate in the offscreen window + * @offscreen-x: (out) (type double): return location for the x + * coordinate in the offscreen window + * @offscreen-y: (out) (type double): return location for the y + * coordinate in the offscreen window * * The ::from-embedder signal is emitted to translate coordinates * in the embedder of an offscreen window to the offscreen window. @@ -2204,7 +2208,7 @@ gdk_window_set_user_data (GdkWindow *window, /** * gdk_window_get_user_data: * @window: a #GdkWindow - * @data: return location for user data + * @data: (out): return location for user data * * Retrieves the user data for @window, which is normally the widget * that @window belongs to. See gdk_window_set_user_data(). @@ -6343,8 +6347,8 @@ gdk_window_set_debug_updates (gboolean setting) * @flags: a mask indicating what portions of @geometry are set * @width: desired width of window * @height: desired height of the window - * @new_width: location to store resulting width - * @new_height: location to store resulting height + * @new_width: (out): location to store resulting width + * @new_height: (out): location to store resulting height * * Constrains a desired width and height according to a * set of geometry hints (such as minimum and maximum size). @@ -8346,8 +8350,8 @@ gdk_window_get_origin (GdkWindow *window, * @window: a #GdkWindow * @x: X coordinate in window * @y: Y coordinate in window - * @root_x: return location for X coordinate - * @root_y: return location for Y coordinate + * @root_x: (out): return location for X coordinate + * @root_y: (out): return location for Y coordinate * * Obtains the position of a window position in root * window coordinates. This is similar to |