diff options
Diffstat (limited to 'vcl/unx/gtk3/gtk3gtkinst.cxx')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |