13
0

Remove duplicate implementation

`bool cocoa_open_url (const char*)` is implemented in 
libs/pbd/cocoa_open_uri.mm
This commit is contained in:
Robin Gareus 2022-12-08 01:32:41 +01:00
parent d3e736f7d3
commit ea50799ce2

View File

@ -47,20 +47,6 @@
using namespace std;
using namespace PBD;
bool
cocoa_open_url (const char* uri)
{
NSString* struri = [[NSString alloc] initWithUTF8String:uri];
NSURL* nsurl = [[NSURL alloc] initWithString:struri];
bool ret = [[NSWorkspace sharedWorkspace] openURL:nsurl];
[struri release];
[nsurl release];
return ret;
}
void
set_language_preference ()
{