vcl/unx/gtk3/gtk3gtkinst.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 4aad457ef429f09015d01ac0f368c9768157c615 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Oct 11 21:38:05 2018 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Oct 12 09:46:44 2018 +0200
set m_nSizeAllocateSignalId to 0 when not installed Change-Id: I1023f5b51fefd86d7faa749c9488a7fcaeeaf3ff Reviewed-on: https://gerrit.libreoffice.org/61695 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index a786e48e0233..3c8fe4aeddd1 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -2861,6 +2861,8 @@ public: { if (get_n_pages() > 6) m_nSizeAllocateSignalId = g_signal_connect(pNotebook, "size-allocate", G_CALLBACK(signalSizeAllocate), this); + else + m_nSizeAllocateSignalId = 0; } virtual int get_current_page() const override _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits