Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/XPDFApp.cc
diff options
context:
space:
mode:
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>2003-04-01 08:50:28 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2003-04-01 08:50:28 (GMT)
commitbfd0b848c8c81ab10698f74b77f9f0904c3161e1 (patch)
tree60e57e5d871cf7944107445379a791d4daf4a27c /pdf/xpdf/XPDFApp.cc
parent8032fd96d450ac015c0153f1fa57e974d67b4993 (diff)
Import of Xpdf 2.02 for merge
Diffstat (limited to 'pdf/xpdf/XPDFApp.cc')
-rw-r--r--pdf/xpdf/XPDFApp.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/pdf/xpdf/XPDFApp.cc b/pdf/xpdf/XPDFApp.cc
index 864dabb..d93f2a0 100644
--- a/pdf/xpdf/XPDFApp.cc
+++ b/pdf/xpdf/XPDFApp.cc
@@ -2,7 +2,7 @@
//
// XPDFApp.cc
//
-// Copyright 2002 Glyph & Cog, LLC
+// Copyright 2002-2003 Glyph & Cog, LLC
//
//========================================================================
@@ -270,7 +270,11 @@ void XPDFApp::quit() {
while (viewers->getLength() > 0) {
delete (XPDFViewer *)viewers->del(0);
}
+#if HAVE_XTAPPSETEXITFLAG
+ exit(0);
+#else
XtAppSetExitFlag(appContext);
+#endif
}
void XPDFApp::run() {