libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 79fa071767c7c6b88950b82143fa76df63b172e6
Author: Pranav Kant <[email protected]>
Date:   Thu Oct 26 15:25:41 2017 -0700

    lokdialog: Clear the pointer after destroying
    
    Change-Id: Iebbe3fab6f6144f0cf1de9a1c45a0b2a62b07e0b
    Reviewed-on: https://gerrit.libreoffice.org/43958
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: pranavk <[email protected]>

diff --git a/libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx 
b/libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx
index b0d86bddb6e8..6948b842f633 100644
--- a/libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx
@@ -643,7 +643,10 @@ void gtv_lok_dialog_child_close(GtvLokDialog* dialog)
 
     GtvLokDialogPrivate* priv = getPrivate(dialog);
     if (priv->pFloatingWin)
+    {
         gtk_widget_destroy(priv->pFloatingWin);
+        priv->pFloatingWin = nullptr;
+    }
 }
 
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to