Use AESendMessage, which comes from CoreServices, not AESend, which comes from Carbon.
authorPeter Hosey <hg@boredzo.org>
Thu Sep 24 14:08:49 2009 -0700 (2009-09-24)
changeset 44300f739ceca8b4
parent 4429 58720a0d2d1f
child 4431 6b117acf2fe9
Use AESendMessage, which comes from CoreServices, not AESend, which comes from Carbon.
Framework/Source/GrowlApplicationBridge.m
     1.1 --- a/Framework/Source/GrowlApplicationBridge.m	Thu Sep 24 14:08:19 2009 -0700
     1.2 +++ b/Framework/Source/GrowlApplicationBridge.m	Thu Sep 24 14:08:49 2009 -0700
     1.3 @@ -835,7 +835,7 @@
     1.4  					if (err != noErr) {
     1.5  						NSLog(@"%@: Could not finish open-document event to register this application with Growl because AEStreamClose returned %li/%s", [self class], (long)err, GetMacOSStatusCommentString(err));
     1.6  					} else {
     1.7 -						err = AESend(&event, /*reply*/ NULL, kAENoReply | kAEDontReconnect | kAENeverInteract | kAEDontRecord, kAENormalPriority, kAEDefaultTimeout, /*idleProc*/ NULL, /*filterProc*/ NULL);
     1.8 +						err = AESendMessage(&event, /*reply*/ NULL, kAENoReply | kAEDontReconnect | kAENeverInteract | kAEDontRecord, kAEDefaultTimeout);
     1.9  						if (err != noErr) {
    1.10  							NSLog(@"%@: Could not send open-document event to register this application with Growl because AESend returned %li/%s", [self class], (long)err, GetMacOSStatusCommentString(err));
    1.11  						}