aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/vncviewer.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-07-12 16:56:34 +0000
committerPierre Ossman <ossman@cendio.se>2011-07-12 16:56:34 +0000
commite2ef5c1994f94562a487e4a50c8985dcb826f938 (patch)
tree7943a23e38e623e5cd464ba153d76a5c6240df8b /vncviewer/vncviewer.h
parentf8450ca5a0e984eb1509e0e08f63a32e133eb1fc (diff)
downloadtigervnc-e2ef5c1994f94562a487e4a50c8985dcb826f938.tar.gz
tigervnc-e2ef5c1994f94562a487e4a50c8985dcb826f938.zip
Destroy the main UI and connection objects before popping up the fatal error
message. This avoids a lot of problems with recursion and trying to send events over a dead socket. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4582 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/vncviewer.h')
-rw-r--r--vncviewer/vncviewer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/vncviewer.h b/vncviewer/vncviewer.h
index ab16b689..443dbea3 100644
--- a/vncviewer/vncviewer.h
+++ b/vncviewer/vncviewer.h
@@ -19,7 +19,7 @@
#ifndef __VNCVIEWER_H__
#define __VNCVIEWER_H__
-void exit_vncviewer();
+void exit_vncviewer(const char *error = NULL);
void about_vncviewer();
#endif