* Source/NSBundle.m (+gnustepBundle,

+pathForGNUstepResource:ofType:inDirectory:]): Add depreciated
log message.
* Source/NSNotificationQueue.m, Source/null-load.h:
Fix copyright message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20823 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2005-03-01 15:50:26 +00:00
parent 41275af5f8
commit 0528b31e80
4 changed files with 20 additions and 30 deletions

View file

@ -1781,6 +1781,9 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
+ (NSBundle *) gnustepBundle
{
/* Depreciated since 1.7.0 */
GSOnceMLog(@"Warning: Deprecated method %@ called. Use +bundleForLibrary: instead",
NSStringFromSelector(_cmd));
return _gnustep_bundle;
}
@ -1814,7 +1817,8 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
ofType: (NSString *)ext
inDirectory: (NSString *)bundlePath
{
NSLog(@"Warning: Deprecated method %@ called. Use +pathForLibraryResource:ofType:inDirectory: or +bundleForLibrary: instead",
/* Depreciated since 1.7.0 */
GSOnceMLog(@"Warning: Deprecated method %@ called. Use +pathForLibraryResource:ofType:inDirectory: or +bundleForLibrary: instead",
NSStringFromSelector(_cmd));
return [self pathForLibraryResource: name ofType: ext
inDirectory: bundlePath];