diff options
author | culler <culler> | 2019-06-24 18:52:29 (GMT) |
---|---|---|
committer | culler <culler> | 2019-06-24 18:52:29 (GMT) |
commit | a3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0 (patch) | |
tree | e4ce5702f8b1c38c51f2f339b96220005f6cde84 | |
parent | f959b3aa341686dd18b2e81d19d8b0d13c308702 (diff) | |
download | tk-a3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0.zip tk-a3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0.tar.gz tk-a3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0.tar.bz2 |
Remove unnecessary call to NSUpdateDynamicServices() which can cause crashes.
-rw-r--r-- | macosx/tkMacOSXServices.c | 3 |
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; } |