vcl/unx/gtk3/gtkinst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6770a541e36a4e270ad309bd429a33e8d0bee15f Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Sep 30 11:23:04 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Sep 30 14:13:32 2022 +0200 use gtk_tree_path_new_from_string here too for consistency Change-Id: I5d4795fcaf20ae89c18ddb1d75ca93f078e0e3fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140798 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index 3dc15b3016ff..ae5937dfa2ef 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx @@ -15188,7 +15188,7 @@ public: gtk_tree_view_scroll_to_cell(m_pTreeView, path, nullptr, false, 0, 0); } else - path = gtk_tree_path_new(); + path = gtk_tree_path_new_from_string("0:1:0"); gtk_tree_view_set_cursor(m_pTreeView, path, nullptr, false); gtk_tree_path_free(path); enable_notify_events();