Fix bustage on Solaris from bug 193001.

This commit is contained in:
reed@reedloden.com 2008-01-16 23:10:23 -08:00
parent 21aa62870e
commit 152087c014

View File

@ -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