mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:10:37 +00:00
Log tiff warnings using NSDebugLLog instead of NSLog. Make private methods static.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20082 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
91cf238321
commit
e2e0084fdb
3 changed files with 15 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-09-18 15:15 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
|
* Source/GSServicesManager.m (_serviceFromAnyLocalizedTitle): Rename
|
||||||
|
to serviceFromAnyLocalizedTitle and make static.
|
||||||
|
* Source/tiff.m (NSTiffWarning): Log tiff warnings using NSDebugLLog
|
||||||
|
instead of NSLog.
|
||||||
|
|
||||||
2004-09-17 Fred Kiefer <FredKiefer@gmx.de>
|
2004-09-17 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSTextFieldCell.m (-initWithCoder:): Moved special
|
* Source/NSTextFieldCell.m (-initWithCoder:): Moved special
|
||||||
|
|
|
@ -391,9 +391,9 @@ NSRegisterServicesProvider(id provider, NSString *name)
|
||||||
|
|
||||||
- (void) activateIgnoringOtherApps: (BOOL)flag
|
- (void) activateIgnoringOtherApps: (BOOL)flag
|
||||||
{
|
{
|
||||||
[NSApp activateIgnoringOtherApps:flag];
|
[NSApp activateIgnoringOtherApps: flag];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) self
|
- (id) self
|
||||||
{
|
{
|
||||||
return self;
|
return self;
|
||||||
|
@ -1388,8 +1388,8 @@ GSContactApplication(NSString *appName, NSString *port, NSDate *expire)
|
||||||
return app;
|
return app;
|
||||||
}
|
}
|
||||||
|
|
||||||
NSDictionary *
|
static NSDictionary *
|
||||||
_serviceFromAnyLocalizedTitle(NSString *title)
|
serviceFromAnyLocalizedTitle(NSString *title)
|
||||||
{
|
{
|
||||||
NSDictionary *allServices;
|
NSDictionary *allServices;
|
||||||
NSEnumerator *e1;
|
NSEnumerator *e1;
|
||||||
|
@ -1453,7 +1453,7 @@ NSPerformService(NSString *serviceItem, NSPasteboard *pboard)
|
||||||
NSString *userData;
|
NSString *userData;
|
||||||
NSString *error = nil;
|
NSString *error = nil;
|
||||||
|
|
||||||
service = _serviceFromAnyLocalizedTitle(serviceItem);
|
service = serviceFromAnyLocalizedTitle(serviceItem);
|
||||||
if (service == nil)
|
if (service == nil)
|
||||||
{
|
{
|
||||||
NSRunAlertPanel(nil,
|
NSRunAlertPanel(nil,
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "nsimage-tiff.h"
|
#include "nsimage-tiff.h"
|
||||||
#include <Foundation/NSArray.h>
|
#include <Foundation/NSArray.h>
|
||||||
|
#include <Foundation/NSDebug.h>
|
||||||
#include <Foundation/NSString.h>
|
#include <Foundation/NSString.h>
|
||||||
#include <Foundation/NSUtilities.h>
|
#include <Foundation/NSUtilities.h>
|
||||||
|
|
||||||
|
@ -95,7 +96,8 @@ NSTiffWarning(const char *func, const char *msg, va_list ap)
|
||||||
NSString *format;
|
NSString *format;
|
||||||
|
|
||||||
format = [NSString stringWithFormat: @"Tiff Warning (%s) %s", func, msg];
|
format = [NSString stringWithFormat: @"Tiff Warning (%s) %s", func, msg];
|
||||||
NSLogv (format, ap);
|
format = [NSString stringWithFormat: format arguments: ap];
|
||||||
|
NSDebugLLog (@"NSTiff", @"%@", format);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Client functions that provide reading/writing of data for libtiff */
|
/* Client functions that provide reading/writing of data for libtiff */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue