mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
b=626539 free standardGtkPaperSize in the other cases also r=roc
--HG-- extra : transplant_source : %FC%BA%9F%F6%A2%F5E%DF6%FBo%BB%D4%D3%E1%9F%BB%D5%CF%B5
This commit is contained in:
parent
9024614d36
commit
386ecc3d1d
@ -547,10 +547,10 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::Init(nsIWidget *aWidget,
|
||||
properPaperSize = standardGtkPaperSize;
|
||||
} else {
|
||||
properPaperSize = geckosHackishPaperSize;
|
||||
gtk_paper_size_free(standardGtkPaperSize);
|
||||
}
|
||||
gtk_print_settings_set_paper_size(mGtkPrintSettings, properPaperSize);
|
||||
gtk_page_setup_set_paper_size_and_default_margins(mGtkPageSetup, properPaperSize);
|
||||
gtk_paper_size_free(standardGtkPaperSize);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user