summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXServices.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2019-05-12 02:03:47 (GMT)
committerKevin Walzer <kw@codebykevin.com>2019-05-12 02:03:47 (GMT)
commit3726f38ebed5f4a444b0b3de64095649563eecf8 (patch)
treeb479ceca045c0b37dd7617c38e17dca33f8caaf0 /macosx/tkMacOSXServices.c
parent968b1a50997b2e3cede917c2a95ea5af549cf105 (diff)
downloadtk-3726f38ebed5f4a444b0b3de64095649563eecf8.zip
tk-3726f38ebed5f4a444b0b3de64095649563eecf8.tar.gz
tk-3726f38ebed5f4a444b0b3de64095649563eecf8.tar.bz2
Restore deprecated call to NSPasteboardTypeString in writeSelectiontoPasteboard because it breaks sending data to the services menu. Data type must be identical in this call and in the NSSendTypes key in info.plist; we cannot do a clever mapping here of the old type to a new one because the info.plist does not have this kind of conditional reading on different versions of macOS. We will have to live with the deprecated call until it is obsolete/removed altogether by Apple.
Diffstat (limited to 'macosx/tkMacOSXServices.c')
-rw-r--r--macosx/tkMacOSXServices.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/macosx/tkMacOSXServices.c b/macosx/tkMacOSXServices.c
index 0797e47..3340ba7 100644
--- a/macosx/tkMacOSXServices.c
+++ b/macosx/tkMacOSXServices.c
@@ -13,7 +13,6 @@
#include <CoreServices/CoreServices.h>
#include <tkInt.h>
#include <tkMacOSXInt.h>
-#include <tkMacOSXConstants.h>
static Tcl_Interp *ServicesInterp;