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>2004-05-16 20:13:21 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2004-05-16 20:13:21 (GMT)
commitd57c02ebc09bfd1a0cac44140ec7a80dbe43877e (patch)
treef19f8683ab101bd07617177762eab5107bef80a6 /pdf/xpdf/XPDFApp.cc
parentcef6e2de0f07cc9c2572f7f9bc2bc7b1453b9a2f (diff)
Import of Xpdf 2.03
Diffstat (limited to 'pdf/xpdf/XPDFApp.cc')
-rw-r--r--pdf/xpdf/XPDFApp.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/pdf/xpdf/XPDFApp.cc b/pdf/xpdf/XPDFApp.cc
index d93f2a0..5125f5f 100644
--- a/pdf/xpdf/XPDFApp.cc
+++ b/pdf/xpdf/XPDFApp.cc
@@ -35,6 +35,7 @@
//------------------------------------------------------------------------
static String fallbackResources[] = {
+ "*.zoomComboBox*fontList: -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1",
"*XmTextField.fontList: -*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1",
"*.fontList: -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1",
"*XmTextField.translations: #override\\n"
@@ -271,9 +272,9 @@ void XPDFApp::quit() {
delete (XPDFViewer *)viewers->del(0);
}
#if HAVE_XTAPPSETEXITFLAG
- exit(0);
-#else
XtAppSetExitFlag(appContext);
+#else
+ exit(0);
#endif
}
@@ -378,7 +379,6 @@ void XPDFApp::remoteMsgCbk(Widget widget, XtPointer ptr,
app->remoteViewer->open(fileName, page, destName);
delete fileName;
}
- XFree((XPointer)cmd);
if (destName) {
delete destName;
}
@@ -397,4 +397,6 @@ void XPDFApp::remoteMsgCbk(Widget widget, XtPointer ptr,
XMapRaised(app->display, XtWindow(app->remoteWin));
XFlush(app->display);
}
+
+ XFree((XPointer)cmd);
}