summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-09-30 11:23:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-09-30 14:13:32 +0200
commit6770a541e36a4e270ad309bd429a33e8d0bee15f (patch)
tree7acfd8c4222701ebe2bbb08d6490316e7b006510 /vcl/unx
parent0c2d5312071a2de2ef2a9bdb997b8b8d4a91e9b4 (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx2
1 files changed, 1 insertions, 1 deletions
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();