X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FXPDFApp.cc;h=d93f2a0490c2898731f80bd174be099d368518ec;hb=884f739665dc56e66f51e104350f2affd33f2dd8;hp=864dabb480a54ff601ebd23782d46860b9f0a833;hpb=9ac495d6543dbd65992791bb41d5f8fbf90e549c;p=evince.git diff --git a/pdf/xpdf/XPDFApp.cc b/pdf/xpdf/XPDFApp.cc index 864dabb4..d93f2a04 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() {