mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Fix bustage on Solaris from bug 193001.
This commit is contained in:
parent
21aa62870e
commit
152087c014
@ -675,7 +675,7 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::EndDocument()
|
||||
if (!gtk_print_job_set_source_file(mPrintJob, mSpoolName.get(), NULL))
|
||||
return NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE;
|
||||
|
||||
NS_ADDREF(mSpoolFile);
|
||||
NS_ADDREF(mSpoolFile.get());
|
||||
gtk_print_job_send(mPrintJob, print_callback, mSpoolFile, ns_release_macro);
|
||||
} else {
|
||||
// Handle print-to-file ourselves for the benefit of embedders
|
||||
|
Loading…
Reference in New Issue
Block a user