[gtk+] Fix GtkIconView GI annotations
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix GtkIconView GI annotations
- Date: Tue, 18 Jan 2011 11:33:32 +0000 (UTC)
commit b208b9c0e9b6f6d5484e6ae301e6c27cbd0b0d86
Author: Martin Pitt <martin pitt ubuntu com>
Date: Tue Jan 18 12:32:52 2011 +0100
Fix GtkIconView GI annotations
Add the missing (out) annotations, and a missing allow-none.
gtk/gtkiconview.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 9e3d98f..406a9e5 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -1934,8 +1934,8 @@ gtk_icon_view_set_cursor (GtkIconView *icon_view,
/**
* gtk_icon_view_get_cursor:
* @icon_view: A #GtkIconView
- * @path: (allow-none): Return location for the current cursor path, or %NULL
- * @cell: (allow-none): Return location the current focus cell, or %NULL
+ * @path: (allow-none) (out): Return location for the current cursor path, or %NULL
+ * @cell: (allow-none) (out): Return location the current focus cell, or %NULL
*
* Fills in @path and @cell with the current cursor path and cell.
* If the cursor isn't currently set, then * path will be %NULL.
@@ -4274,9 +4274,9 @@ gtk_icon_view_get_path_at_pos (GtkIconView *icon_view,
* @icon_view: A #GtkIconView.
* @x: The x position to be identified
* @y: The y position to be identified
- * @path: (allow-none): Return location for the path, or %NULL
- * @cell: Return location for the renderer responsible for the cell
- * at (@x, @y), or %NULL
+ * @path: (allow-none) (out): Return location for the path, or %NULL
+ * @cell: (allow-none) (out): Return location for the renderer responsible for
+ * the cell at (@x, @y), or %NULL
*
* Finds the path at the point (@x, @y), relative to bin_window coordinates.
* In contrast to gtk_icon_view_get_path_at_pos(), this function also
@@ -4585,8 +4585,8 @@ gtk_icon_view_get_tooltip_column (GtkIconView *icon_view)
/**
* gtk_icon_view_get_visible_range:
* @icon_view: A #GtkIconView
- * @start_path: (allow-none): Return location for start of region, or %NULL
- * @end_path: (allow-none): Return location for end of region, or %NULL
+ * @start_path: (allow-none) (out): Return location for start of region, or %NULL
+ * @end_path: (allow-none) (out): Return location for end of region, or %NULL
*
* Sets @start_path and @end_path to be the first and last visible path.
* Note that there may be invisible paths in between.
@@ -6718,8 +6718,8 @@ gtk_icon_view_set_drag_dest_item (GtkIconView *icon_view,
/**
* gtk_icon_view_get_drag_dest_item:
* @icon_view: a #GtkIconView
- * @path: (allow-none): Return location for the path of the highlighted item, or %NULL.
- * @pos: (allow-none): Return location for the drop position, or %NULL
+ * @path: (allow-none) (out): Return location for the path of the highlighted item, or %NULL.
+ * @pos: (allow-none) (out): Return location for the drop position, or %NULL
*
* Gets information about the item that is highlighted for feedback.
*
@@ -6749,8 +6749,8 @@ gtk_icon_view_get_drag_dest_item (GtkIconView *icon_view,
* @icon_view: a #GtkIconView
* @drag_x: the position to determine the destination item for
* @drag_y: the position to determine the destination item for
- * @path: (allow-none): Return location for the path of the item, or %NULL.
- * @pos: (allow-none): Return location for the drop position, or %NULL
+ * @path: (allow-none) (out): Return location for the path of the item, or %NULL.
+ * @pos: (allow-none) (out): Return location for the drop position, or %NULL
*
* Determines the destination item for a given position.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]