summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInit.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-11-20 18:15:59 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-11-20 18:15:59 (GMT)
commita6c1ce56ebc91c013dfc23d88b40c9deb0ebe31b (patch)
tree9c816427d447f002940a1c8be99b7bb83a8cc8a4 /macosx/tkMacOSXInit.c
parent668ebaa67fe5da07f034c1ac75d49f95cafdfad8 (diff)
downloadtk-a6c1ce56ebc91c013dfc23d88b40c9deb0ebe31b.zip
tk-a6c1ce56ebc91c013dfc23d88b40c9deb0ebe31b.tar.gz
tk-a6c1ce56ebc91c013dfc23d88b40c9deb0ebe31b.tar.bz2
Remove two duplicate lines of code.
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r--macosx/tkMacOSXInit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index 996fc05..b89fb57 100644
--- a/macosx/tkMacOSXInit.c
+++ b/macosx/tkMacOSXInit.c
@@ -129,13 +129,6 @@ static int TkMacOSXGetAppPathCmd(ClientData cd, Tcl_Interp *ip,
[self _setupMenus];
/*
- * Initialize graphics.
- */
-
- TkMacOSXUseAntialiasedText(_eventInterp, -1);
- TkMacOSXInitCGDrawing(_eventInterp, TRUE, 0);
-
- /*
* It is not safe to force activation of the NSApp until this method is
* called. Activating too early can cause the menu bar to be unresponsive.
* The call to activateIgnoringOtherApps was moved here to avoid this.