[gtk/row-activated-annotation] treeview: Add a few missing annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/row-activated-annotation] treeview: Add a few missing annotations
- Date: Sun, 6 Jun 2021 12:26:09 +0000 (UTC)
commit b1beb3650bd2c66835e00da86a8beda83495d8cc
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 6 08:24:52 2021 -0400
treeview: Add a few missing annotations
gtk_tree_view_row_activated and the ::row-activated signal
can (and do) receive NULL for the column occasionally.
This is an introspection api change.
Fixes: #3828
gtk/gtktreeview.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index bf8b05a435..17fe30305e 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -1167,7 +1167,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
* GtkTreeView::row-activated:
* @tree_view: the object on which the signal is emitted
* @path: the `GtkTreePath` for the activated row
- * @column: the `GtkTreeViewColumn` in which the activation occurred
+ * @column: (nullable): the `GtkTreeViewColumn` in which the activation occurred
*
* The "row-activated" signal is emitted when the method
* gtk_tree_view_row_activated() is called, when the user double
@@ -11283,7 +11283,7 @@ gtk_tree_view_scroll_to_cell (GtkTreeView *tree_view,
* gtk_tree_view_row_activated:
* @tree_view: A `GtkTreeView`
* @path: The `GtkTreePath` to be activated.
- * @column: The `GtkTreeViewColumn` to be activated.
+ * @column: (nullable): The `GtkTreeViewColumn` to be activated.
*
* Activates the cell determined by @path and @column.
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]