diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-21 19:17:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-23 18:22:41 +0200 |
commit | 179909a9ec0ac3c73cc3f797da63ae20c9057636 (patch) | |
tree | 65646b93cbdd8bb358d2743399bad7f1c109ab72 | |
parent | be50e025724d80009aaf8859a9d6ade6d511b2dd (diff) |
g_object_set_data to unset is unnecessary and unhelpful
Change-Id: I44665542f70c39c7861940d2191860ca9f53a700
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101179
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 671938d721c9..c73966efcd5c 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -15842,13 +15842,7 @@ public: { g_slist_free(m_pObjectList); g_object_unref(m_pBuilder); - - if (m_xInterimGlue) - { - assert(m_pParentWidget); - g_object_set_data(G_OBJECT(m_pParentWidget), "InterimWindowGlue", nullptr); - m_xInterimGlue.disposeAndClear(); - } + m_xInterimGlue.disposeAndClear(); } //ideally we would have/use weld::Container add and explicitly |