vcl/unx/gtk/gtksalmenu.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 6da3cd5521ffba2f6502929260d33c91ec56d556 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Jan 27 15:37:43 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Jan 27 22:27:32 2019 +0100
tdf#122990: return if no mpMenuBarContainerWidget in ApplyPersona Related to patches for tdf#122241 Change-Id: I0ce46a3a362855aaa6c11f375d20c2212f1cb20b Reviewed-on: https://gerrit.libreoffice.org/66973 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx index 538cb0aa680d..27ba8096bce8 100644 --- a/vcl/unx/gtk/gtksalmenu.cxx +++ b/vcl/unx/gtk/gtksalmenu.cxx @@ -859,6 +859,8 @@ void GtkSalMenu::CreateMenuBarWidget() void GtkSalMenu::ApplyPersona() { #if GTK_CHECK_VERSION(3,0,0) + if (!mpMenuBarContainerWidget) + return; assert(mbMenuBar); // I'm dubious about the persona theming feature, but as it exists, lets try and support // it, apply the image to the mpMenuBarContainerWidget _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits