Corrected minor compilation warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21993 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-11-12 21:33:26 +00:00
parent 99bc1eab25
commit ec0d95b96f
7 changed files with 17 additions and 9 deletions

View file

@ -1,3 +1,13 @@
2005-11-12 16:32 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassManager.m
* GormCore/GormGenericEditor.h
* GormCore/GormPalettesManager.m
* GormCore/GormPrivate.h
* GormObjCHeaderParser/OCHeaderParser.m
* Palettes/0Menus/GormMenuAttributesInspector.m: Corrected minor
compilation warnings.
2005-11-12 15:33 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormScrollViewAttributesInspector.m: Corrected problem

View file

@ -166,8 +166,7 @@
- (void) convertDictionary: (NSMutableDictionary *)dict
{
NSMutableArray *array = [classInformation allKeys];
[dict removeObjectsForKeys: array];
[dict removeObjectsForKeys: [classInformation allKeys]];
}
- (NSString *) uniqueClassNameFrom: (NSString *)name
@ -427,7 +426,7 @@
- (void) replaceAction: (NSString *)oldAction
withAction: (NSString *)aNewAction
forClassNamed: className
forClassNamed: (NSString *)className
{
NSMutableDictionary *info = [classInformation objectForKey: className];
NSMutableArray *extraActions = [info objectForKey: @"ExtraActions"];
@ -478,7 +477,7 @@
- (void) replaceOutlet: (NSString *)oldOutlet
withOutlet: (NSString *)aNewOutlet
forClassNamed: className
forClassNamed: (NSString *)className
{
NSMutableDictionary *info = [classInformation objectForKey: className];
NSMutableArray *extraOutlets = [info objectForKey: @"ExtraOutlets"];

View file

@ -61,7 +61,7 @@
- (void) refreshCells;
- (void) removeObject: (id)anObject;
- (BOOL) activate;
- (id) initWithObject: (id)anObject inDocument: (id)aDocument;
- (id) initWithObject: (id)anObject inDocument: (id<IBDocuments>)aDocument;
- (void) close;
- (void) closeSubeditors;
- (BOOL) containsObject: (id)anObject;

View file

@ -168,7 +168,7 @@ static NSImage *dragImage = nil;
{
NSPoint dragPoint = [theEvent locationInWindow];
NSView *view;
GormDocument *active = [(id<IB>)NSApp activeDocument];
GormDocument *active = (GormDocument *)[(id<IB>)NSApp activeDocument];
NSRect rect;
NSString *type;
id obj;

View file

@ -108,7 +108,7 @@ extern NSString *GormResizeCellNotification;
+ (NSString *) negativeFormatAtIndex: (int)index;
+ (NSDecimalNumber *) positiveValueAtIndex: (int)index;
+ (NSDecimalNumber *) negativeValueAtIndex: (int)index;
+ (int) indexOfFormat: format;
+ (int) indexOfFormat: (NSString *)format;
+ (NSString *) defaultFormat;
+ (id) defaultFormatValue;
- (NSString *) zeroFormat;

View file

@ -56,7 +56,7 @@
[super dealloc];
}
- (NSArray *)classes
- (NSMutableArray *)classes
{
return classes;
}

View file

@ -80,7 +80,6 @@
}
else if ( sender == menuType )
{
BOOL flag;
GormDocument *doc = (GormDocument *)[(id<IB>)NSApp activeDocument];
int tag = [[menuType selectedCell] tag];