summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXServices.c
diff options
context:
space:
mode:
authorculler <culler>2019-06-24 18:54:58 (GMT)
committerculler <culler>2019-06-24 18:54:58 (GMT)
commit09f9905763b964c8ff50bc4fe54e52ecb137b194 (patch)
tree89a426ff6140b46392a442398907206bbb94aea9 /macosx/tkMacOSXServices.c
parent2f238380886b4b2b4b2d10b98562bafb74baf05d (diff)
parenta3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0 (diff)
downloadtk-09f9905763b964c8ff50bc4fe54e52ecb137b194.zip
tk-09f9905763b964c8ff50bc4fe54e52ecb137b194.tar.gz
tk-09f9905763b964c8ff50bc4fe54e52ecb137b194.tar.bz2
Remove unnecessary call to NSUpdateDynamicServices() which can cause crashes
Diffstat (limited to 'macosx/tkMacOSXServices.c')
-rw-r--r--macosx/tkMacOSXServices.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXServices.c b/macosx/tkMacOSXServices.c
index 9bc22ea..dcf3d95 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;
}