diff options
author | Martin 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) |
commit | bfd0b848c8c81ab10698f74b77f9f0904c3161e1 (patch) | |
tree | 60e57e5d871cf7944107445379a791d4daf4a27c /pdf/xpdf/XPDFApp.cc | |
parent | 8032fd96d450ac015c0153f1fa57e974d67b4993 (diff) |
Import of Xpdf 2.02 for merge
Diffstat (limited to 'pdf/xpdf/XPDFApp.cc')
-rw-r--r-- | pdf/xpdf/XPDFApp.cc | 6 |
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() { |