tdf#148197 gtk_tree_row_reference_new_proxy warning on docking navigator
commitffa172fc6b98d7d7dd3928693035a34cd331fe12
authorCaolán McNamara <caolanm@redhat.com>
Thu, 14 Apr 2022 08:13:35 +0000 (14 09:13 +0100)
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>
Tue, 19 Apr 2022 11:55:53 +0000 (19 13:55 +0200)
treeb17300878c721ce044ea2d7d5bc7a71463cd5a23
parent79b584af649c9499b1b4606803ee50595e2da33d
tdf#148197 gtk_tree_row_reference_new_proxy warning on docking navigator

Gtk-CRITICAL **: 09:05:11.124: gtk_tree_row_reference_new_proxy: assertion 'path->depth > 0' failed

from TreeView::set_cursor(-1)

gtk_tree_view_set_cursor is ok (and documented as such) with an
"invalid" path to unset the cursor, but there isn't the same for
gtk_tree_view_scroll_to_cell, though there null is docs as acceptable.

Change-Id: I11b94ba997fbbd2f31031d9e73765ea1882ad9ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132872
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
vcl/unx/gtk3/gtkinst.cxx