summaryrefslogtreecommitdiff
path: root/gtk/gtktreeview.c
diff options
context:
space:
mode:
authorGniourf <gniourfgniourf@gmail.com>2018-02-14 13:51:00 +0100
committerGniourf <gniourfgniourf@gmail.com>2018-02-14 13:51:00 +0100
commitc5bece5cef4b1a6c4569e6131747ce70925cb469 (patch)
treef25dd50c42e45ffa940a8aab0de24706675c34b5 /gtk/gtktreeview.c
parent970d2e3f453900ddc2b28564648f941d75899d96 (diff)
downloadgtk+-c5bece5cef4b1a6c4569e6131747ce70925cb469.tar.gz
Fix annotation for gtk_tree_view_is_blank_at_pos()
The annotation (allow-none) is wrong. Since gtk_tree_view_is_blank_at_pos() also calls gtk_tree_view_get_path_at_pos(), the same fields should have the same annotations.
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r--gtk/gtktreeview.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index d7bed5d2b9..1670f1a0c8 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -13346,10 +13346,14 @@ gtk_tree_view_get_visible_range (GtkTreeView *tree_view,
* @tree_view: A #GtkTreeView
* @x: The x position to be identified (relative to bin_window)
* @y: The y position to be identified (relative to bin_window)
- * @path: (out) (allow-none): A pointer to a #GtkTreePath pointer to be filled in, or %NULL
- * @column: (out) (allow-none): A pointer to a #GtkTreeViewColumn pointer to be filled in, or %NULL
- * @cell_x: (out) (allow-none): A pointer where the X coordinate relative to the cell can be placed, or %NULL
- * @cell_y: (out) (allow-none): A pointer where the Y coordinate relative to the cell can be placed, or %NULL
+ * @path: (out) (optional) (nullable): A pointer to a #GtkTreePath pointer to
+ * be filled in, or %NULL
+ * @column: (out) (transfer none) (optional) (nullable): A pointer to a
+ * #GtkTreeViewColumn pointer to be filled in, or %NULL
+ * @cell_x: (out) (optional): A pointer where the X coordinate relative to the
+ * cell can be placed, or %NULL
+ * @cell_y: (out) (optional): A pointer where the Y coordinate relative to the
+ * cell can be placed, or %NULL
*
* Determine whether the point (@x, @y) in @tree_view is blank, that is no
* cell content nor an expander arrow is drawn at the location. If so, the