summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2023-09-28 13:23:35 (GMT)
committerKevin Walzer <kw@codebykevin.com>2023-09-28 13:23:35 (GMT)
commit3ea6647dbb8fe93bac340fafa6810862ec9c8c18 (patch)
tree4b0b25fb5a565f226b3bf4765be4e00ee49cecb6 /macosx
parent1c5c40e220e700f37c72ac520aca7de1cff6f52b (diff)
downloadtk-3ea6647dbb8fe93bac340fafa6810862ec9c8c18.zip
tk-3ea6647dbb8fe93bac340fafa6810862ec9c8c18.tar.gz
tk-3ea6647dbb8fe93bac340fafa6810862ec9c8c18.tar.bz2
Remove unnecessary call to TkContentView
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXPrint.c2
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;