diff options
author | 2009-07-19 20:29:24 -0400 | |
---|---|---|
committer | 2009-07-19 20:29:24 -0400 | |
commit | 27e48dc858760edd53c71d3b832e4a78f120c594 (patch) | |
tree | 3eb50ff76bebb2fb9a625bad8ef574c5b3e5e93c /src/textadept.c | |
parent | 3a8ba35148bff928929402a9234c4eb6a4cbc937 (diff) | |
download | textadept-27e48dc858760edd53c71d3b832e4a78f120c594.tar.gz textadept-27e48dc858760edd53c71d3b832e4a78f120c594.zip |
Fix to compile on Mac OSX; src/textadept.c
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textadept.c b/src/textadept.c index 572ca94c..c35e03a7 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -521,7 +521,7 @@ static gbool w_exit(GtkWidget *window, GdkEventAny *event, gpointer udata) { * Signal for an Open Document AppleEvent. * Generates a 'appleevent_odoc' event for each document sent. */ -static OSErr w_ae_open(const AppleEvent *event, AppleEvent *, long) { +static OSErr w_ae_open(const AppleEvent *event, AppleEvent *reply, long ref) { AEDescList file_list; if (AEGetParamDesc(event, keyDirectObject, typeAEList, &file_list) == noErr) { long count = 0; @@ -546,7 +546,7 @@ static OSErr w_ae_open(const AppleEvent *event, AppleEvent *, long) { * Calls the signal for exiting Textadept. * @see w_exit */ -static OSErr w_ae_quit(const AppleEvent *event, AppleEvent *, long) { +static OSErr w_ae_quit(const AppleEvent *event, AppleEvent *reply, long ref) { return w_exit(NULL, NULL, NULL) ? (OSErr) noErr : errAEEventNotHandled; } #endif |