From 27e48dc858760edd53c71d3b832e4a78f120c594 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 19 Jul 2009 20:29:24 -0400 Subject: Fix to compile on Mac OSX; src/textadept.c --- src/textadept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3