summaryrefslogtreecommitdiff
path: root/xmore.c
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-05-30 22:44:01 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-05-30 22:44:01 +0000
commitb041343bcf05fdf5ce4234655c869251b3f8fafa (patch)
tree734c352707cd6ee8250be39237022226c9b7a229 /xmore.c
parent7b5bbd9057eba74e53ec0ed9a306e78a15bd96a8 (diff)
Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=695 - Add print
support to Xedit
Diffstat (limited to 'xmore.c')
-rw-r--r--xmore.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/xmore.c b/xmore.c
index b9812b3..78a63d4 100644
--- a/xmore.c
+++ b/xmore.c
@@ -164,11 +164,11 @@ printOKXtProc(Widget w, XtPointer client_data, XtPointer callData)
* because it is used for the job title AND the page headers... */
sprintf(printJobNameBuffer, "XMore print job %s", viewFileName);
- DoPrint(ProgramName,
- textsource, toplevel,
- pdcs->pdpy, pdcs->pcontext, printshellDestroyXtProc,
- printJobNameBuffer,
- pdcs->printToFile?pdcs->printToFileName:NULL);
+ DoPrintTextSource(ProgramName,
+ textsource, toplevel,
+ pdcs->pdpy, pdcs->pcontext, printshellDestroyXtProc,
+ printJobNameBuffer,
+ pdcs->printToFile?pdcs->printToFileName:NULL);
XtPopdown(printdialog_shell);
}
@@ -247,6 +247,7 @@ int main( int argc, char *argv[] )
ProgramName = argv[0];
+ XtSetLanguageProc(NULL, NULL, NULL);
toplevel = XtOpenApplication(&app, "XMore",
options, XtNumber(options),
&argc, argv, fallback_resources,