summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2019-06-24 18:52:29 (GMT)
committerculler <culler>2019-06-24 18:52:29 (GMT)
commita3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0 (patch)
treee4ce5702f8b1c38c51f2f339b96220005f6cde84
parentf959b3aa341686dd18b2e81d19d8b0d13c308702 (diff)
downloadtk-a3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0.zip
tk-a3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0.tar.gz
tk-a3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0.tar.bz2
Remove unnecessary call to NSUpdateDynamicServices() which can cause crashes.
-rw-r--r--macosx/tkMacOSXServices.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXServices.c b/macosx/tkMacOSXServices.c
index af40a91..6ecb12d 100644
--- a/macosx/tkMacOSXServices.c
+++ b/macosx/tkMacOSXServices.c
@@ -1,6 +1,6 @@
/*
* tkMacOSXServices.c --
- *
+ *\
* This file allows the integration of Tk and the Cocoa NSServices API.
*
* Copyright (c) 2010-2019 Kevin Walzer/WordTech Communications LLC.
@@ -54,7 +54,6 @@ ServicesEventProc(
NSArray *sendTypes = [NSArray arrayWithObjects:@"NSStringPboardType",
@"NSPasteboardTypeString", nil];
[NSApp registerServicesMenuSendTypes:sendTypes returnTypes:sendTypes];
- NSUpdateDynamicServices();
return;
}