Release/Growl/OpenGrowlPrefPane/OpenPrefPane.m
changeset 4451 939a07eddf5e
parent 4450 2466e516f7e2
child 4452 e5b1db34ee0b
     1.1 --- a/Release/Growl/OpenGrowlPrefPane/OpenPrefPane.m	Sun Sep 27 20:52:15 2009 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -#import <Cocoa/Cocoa.h>
     1.5 -#import "PrefPaneOpener.h"
     1.6 -
     1.7 -int main (int argc, const char * argv[]) {
     1.8 -	NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
     1.9 -	
    1.10 -	NSArray	*arguments = [[NSProcessInfo processInfo] arguments];
    1.11 -	if ([arguments count] < 2) {
    1.12 -		/* First argument is the path to the executable */
    1.13 -		printf("Specify the name of the preference pane to open.");
    1.14 -		[pool release];
    1.15 -		return -1;
    1.16 -	}
    1.17 -	
    1.18 -	NSString *preferencePaneName = [arguments objectAtIndex:1];
    1.19 -	[PrefPaneOpener openPrefPane:preferencePaneName];
    1.20 -
    1.21 -    [pool release];
    1.22 -    return 0;
    1.23 -}