add new NSApplicationDelegate method to deal with warning on macOS Sonoma
This commit is contained in:
@@ -1474,6 +1474,10 @@ namespace Gtk {
|
||||
Gtkmm2ext::Application::instance()->ShouldQuit ();
|
||||
return NSTerminateCancel;
|
||||
}
|
||||
- (BOOL) applicationSupportsSecureRestorableState:(NSApplication *) app
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
@end
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user