fix declaration of Cocoa NSApplicationDelegate methods
This commit is contained in:
parent
7c7f642a6f
commit
bd3643a597
@ -1424,11 +1424,13 @@ namespace Gtk {
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface GtkApplicationDelegate : NSObject {}
|
@interface GtkApplicationDelegate : NSObject
|
||||||
|
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file;
|
||||||
|
- (NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication *) app;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation GtkApplicationDelegate
|
@implementation GtkApplicationDelegate
|
||||||
-(BOOL) application:(NSApplication*) app :(NSString*) file
|
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file
|
||||||
{
|
{
|
||||||
UNUSED_PARAMETER(app);
|
UNUSED_PARAMETER(app);
|
||||||
Glib::ustring utf8_path ([file UTF8String]);
|
Glib::ustring utf8_path ([file UTF8String]);
|
||||||
|
Loading…
Reference in New Issue
Block a user