contrib/growl: Add growl patch that comments out logging
[vlc.git] / contrib / src / growl / growl-log-delegate.patch
1 diff -ru growl/Framework/Source/GrowlApplicationBridge.m growl-patched/Framework/Source/GrowlApplicationBridge.m
2 --- growl/Framework/Source/GrowlApplicationBridge.m     2011-05-25 04:10:27.000000000 +0200
3 +++ growl-patched/Framework/Source/GrowlApplicationBridge.m     2015-10-15 15:26:27.000000000 +0200
4 @@ -398,8 +398,8 @@
5         NSDictionary *registrationDictionary = [self registrationDictionaryFromDelegate];
6         if (!registrationDictionary) {
7                 registrationDictionary = [self registrationDictionaryFromBundle:nil];
8 -               if (!registrationDictionary)
9 -                       NSLog(@"GrowlApplicationBridge: The Growl delegate did not supply a registration dictionary, and the app bundle at %@ does not have one. Please tell this application's developer.", [[NSBundle mainBundle] bundlePath]);
10 +               //if (!registrationDictionary)
11 +                       //NSLog(@"GrowlApplicationBridge: The Growl delegate did not supply a registration dictionary, and the app bundle at %@ does not have one. Please tell this application's developer.", [[NSBundle mainBundle] bundlePath]);
12         }
13  
14         return [self registrationDictionaryByFillingInDictionary:registrationDictionary];