Commit 6f7fd107 authored by Giovanni Panozzo's avatar Giovanni Panozzo

Minor fixes in remmina_connection_window_delete()

parent 1193855a
......@@ -355,8 +355,11 @@ void remmina_connection_window_delete(RemminaConnectionWindow* cnnwin)
if (GTK_IS_WIDGET(cnnwin))
/* After remmina_connection_window_close_all_connections() call, cnnwin
* has been already destroyed during a last page of notebook removal.
* So we must rely on cnnhld */
if (cnnhld->cnnwin != NULL && GTK_IS_WIDGET(cnnhld->cnnwin))
cnnhld->cnnwin = NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment