diff options
author | Kevin Walzer <kw@codebykevin.com> | 2023-10-18 13:42:09 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2023-10-18 13:42:09 (GMT) |
commit | cd5b21bb4589a0bc755e9e51c447551847372181 (patch) | |
tree | 6f060b93b190ba8ed967dfdcae097a7d6b65a47d /macosx/tkMacOSXInit.c | |
parent | 2922e26deba5e35fba028fa5d14ac91f9843d845 (diff) | |
download | tk-cd5b21bb4589a0bc755e9e51c447551847372181.zip tk-cd5b21bb4589a0bc755e9e51c447551847372181.tar.gz tk-cd5b21bb4589a0bc755e9e51c447551847372181.tar.bz2 |
Implement applicationSupportsSecureRestorableState for Sonoma security warning, reported in 10b38a7a7c
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r-- | macosx/tkMacOSXInit.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index d70abc5..d003933 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -132,6 +132,16 @@ static int TkMacOSVersionObjCmd(void *cd, Tcl_Interp *ip, #undef observe } + +/* + * Fix for 10b38a7a7c. + */ + +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app +{ + return YES; +} + -(void)applicationWillFinishLaunching:(NSNotification *)aNotification { (void)aNotification; |