13
0

fix declaration of Cocoa NSApplicationDelegate methods

This commit is contained in:
Paul Davis 2015-01-25 12:51:59 -05:00
parent 7c7f642a6f
commit bd3643a597

View File

@ -1424,11 +1424,13 @@ namespace Gtk {
@end
@interface GtkApplicationDelegate : NSObject {}
@interface GtkApplicationDelegate : NSObject
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file;
- (NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication *) app;
@end
@implementation GtkApplicationDelegate
-(BOOL) application:(NSApplication*) app :(NSString*) file
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file
{
UNUSED_PARAMETER(app);
Glib::ustring utf8_path ([file UTF8String]);