summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3/gtkdata.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2024-01-15 18:16:26 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-15 20:42:04 +0100
commitb2ee028d0f805124d823a32aed70bcaf63377757 (patch)
tree4b58e182b6b83f27c316225344009125bdad3ee8 /vcl/unx/gtk3/gtkdata.cxx
parent1ca7f0abc04f7b6bfa098c305481cb6ae4cd5443 (diff)
Replace deprecated "gdk_cursor_unref" by "g_object_unref"
Change-Id: I593f5d8f0775e07e67cce66432bab52723f3afff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162116 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl/unx/gtk3/gtkdata.cxx')
-rw-r--r--vcl/unx/gtk3/gtkdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtkdata.cxx b/vcl/unx/gtk3/gtkdata.cxx
index f595369f8b53..4c97e74aec01 100644
--- a/vcl/unx/gtk3/gtkdata.cxx
+++ b/vcl/unx/gtk3/gtkdata.cxx
@@ -69,7 +69,7 @@ GtkSalDisplay::~GtkSalDisplay()
for(GdkCursor* & rpCsr : m_aCursors)
if( rpCsr )
- gdk_cursor_unref( rpCsr );
+ g_object_unref(rpCsr);
#endif
}