summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2024-01-13 17:26:34 +0100
committerAndras Timar <andras.timar@collabora.com>2024-01-15 16:27:14 +0100
commit4d306569c5ca073118dbd81fe3ccd0501cb027e5 (patch)
tree0ebd54623e0eabfbd1c44dfebadcc3d3682a2bb0 /vcl
parent74ec4296d8acb532c24c973dbdb8875e23172834 (diff)
Add missing g_object_thaw_notify before an early return (vcl/gtkinst)
Change-Id: I3ba4bfd9a302e03dd25e4635dfbb0a41d265349e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162002 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index df54b50368f6..1dafaa04d595 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -15500,7 +15500,10 @@ public:
GtkTreePath* end_path;
if (!gtk_tree_view_get_visible_range(m_pTreeView, &start_path, &end_path))
+ {
+ g_object_thaw_notify(G_OBJECT(m_pTreeModel));
return;
+ }
GtkInstanceTreeIter aGtkIter(nullptr);
gtk_tree_model_get_iter(m_pTreeModel, &aGtkIter.iter, start_path);