vcl/unx/gtk3/gtk3gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 30e7c7f2289cd59c36c00ba4defc52bf189ef77d
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Feb 20 17:33:57 2019 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Feb 21 10:12:56 2019 +0100

    recovery dialogs legitimately don't have parents
    
    Change-Id: I853a4471723c39bbdb8cf71409f518640b54cb83
    Reviewed-on: https://gerrit.libreoffice.org/68110
    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 a1b709b08b6a..1aa6a6ca36f0 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2302,7 +2302,7 @@ struct DialogRunner
        , m_pLoop(nullptr)
     {
         GtkWindow* pParent = 
gtk_window_get_transient_for(GTK_WINDOW(m_pDialog));
-        GtkSalFrame* pFrame = GtkSalFrame::getFromWindow(pParent);
+        GtkSalFrame* pFrame = pParent ? GtkSalFrame::getFromWindow(pParent) : 
nullptr;
         m_xFrameWindow = pFrame ? pFrame->GetWindow() : nullptr;
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to