[Libreoffice-commits] core.git: vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Oct 11 12:58:05 UTC 2018
vcl/unx/gtk3/gtk3gtkinst.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 282e49b2f7bb3d6993cd2151064d6b2eddfe940b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Oct 11 11:47:17 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Oct 11 14:57:41 2018 +0200
don't show_all null popover
Change-Id: Id918a413febc39a8f147bd1b65b7204433d91ae1
Reviewed-on: https://gerrit.libreoffice.org/61663
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 970e53b0cbb4..a786e48e0233 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -3416,7 +3416,8 @@ public:
else
{
gtk_menu_button_set_popover(m_pMenuButton, m_pPopover);
- gtk_widget_show_all(m_pPopover);
+ if (m_pPopover)
+ gtk_widget_show_all(m_pPopover);
}
}
More information about the Libreoffice-commits
mailing list