gtk_viewport_scroll_to() docs: Is (transfer full) correct?
In gtk 4.12.0 GtkColumnView, GtkGridView, GtkListView and GtkViewport have got scroll_to() functions with a GtkScrollInfo parameter. In all 4 functions the scroll info parameter is declared (transfer full). The first 3 functions consume a reference (in gtk_list_base_scroll_to_item()).
What about gtk_viewport_scroll_to()? I can't see that it consumes a reference to the scroll info.
I'm trying to get the reference counts correct when I wrap these functions in C++ code in gtkmm.
As a side note: gtk_column_view_scroll_to() calls gtk_column_view_scroll_to_column(self, column, scroll)
after it calls gtk_list_view_scroll_to(), which calls gtk_scroll_info_unref().
Isn't that risky? gtk_scroll_info_unref() is called from g_clear_pointer(),
but it only clears the local copy of the pointer in gtk_list_base_scroll_to_item().