From b1beb3650bd2c66835e00da86a8beda83495d8cc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 6 Jun 2021 08:24:52 -0400 Subject: [PATCH] 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. **/