diff options
author | Kevin Walzer <kw@codebykevin.com> | 2023-09-28 13:23:35 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2023-09-28 13:23:35 (GMT) |
commit | 3ea6647dbb8fe93bac340fafa6810862ec9c8c18 (patch) | |
tree | 4b0b25fb5a565f226b3bf4765be4e00ee49cecb6 /macosx | |
parent | 1c5c40e220e700f37c72ac520aca7de1cff6f52b (diff) | |
download | tk-3ea6647dbb8fe93bac340fafa6810862ec9c8c18.zip tk-3ea6647dbb8fe93bac340fafa6810862ec9c8c18.tar.gz tk-3ea6647dbb8fe93bac340fafa6810862ec9c8c18.tar.bz2 |
Remove unnecessary call to TkContentView
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXPrint.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/macosx/tkMacOSXPrint.c b/macosx/tkMacOSXPrint.c index 44a164d..727d617 100644 --- a/macosx/tkMacOSXPrint.c +++ b/macosx/tkMacOSXPrint.c @@ -376,8 +376,6 @@ int MakePDF height = Tk_Height(path); MacDrawable *mac_drawable = (MacDrawable *)d; - TKContentView *view = (TKContentView *)TkMacOSXGetNSViewForDrawable(mac_drawable); - pdfData = CreatePDFFromDrawableRect(mac_drawable, 0, 0, width, height); NSData *viewData = (NSData*)pdfData; |