Remove duplicate implementation
`bool cocoa_open_url (const char*)` is implemented in libs/pbd/cocoa_open_uri.mm
This commit is contained in:
parent
d3e736f7d3
commit
ea50799ce2
@ -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 ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user