mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Remove compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37617 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
df44194b98
commit
facac34b47
6 changed files with 12 additions and 8 deletions
|
@ -1,3 +1,11 @@
|
|||
2014-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* GormCore/GormResourceManager.m,
|
||||
* GormCore/GormResource.m,
|
||||
* GormCore/GormOutlineView.m,
|
||||
* GormCore/GormObjectEditor.m,
|
||||
* GormCore/GormClassManager.m: Remove compiler warnings.
|
||||
|
||||
2014-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* GormInfo.plist: Don't clain to be able to write XIB files.
|
||||
|
|
|
@ -1457,11 +1457,9 @@
|
|||
{
|
||||
NSDictionary *classInfo = [dict objectForKey: key];
|
||||
NSMutableDictionary *newInfo;
|
||||
NSMutableDictionary *oldInfo;
|
||||
id obj;
|
||||
|
||||
newInfo = [[NSMutableDictionary alloc] init];
|
||||
oldInfo = [classInformation objectForKey: key];
|
||||
|
||||
[classInformation setObject: newInfo forKey: key];
|
||||
|
||||
|
|
|
@ -177,10 +177,6 @@ static NSMapTable *docMap = 0;
|
|||
&& [[document nameForObject: selected] isEqualToString: @"NSOwner"] == NO
|
||||
&& [[document nameForObject: selected] isEqualToString: @"NSFirst"] == NO)
|
||||
{
|
||||
NSNotificationCenter *nc;
|
||||
|
||||
nc = [NSNotificationCenter defaultCenter];
|
||||
|
||||
if ([selected isKindOfClass: [NSMenu class]] &&
|
||||
[[document nameForObject: selected] isEqual: @"NSMenu"] == YES)
|
||||
{
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <AppKit/NSTableColumn.h>
|
||||
#include <AppKit/NSCell.h>
|
||||
#include <AppKit/NSEvent.h>
|
||||
#include <AppKit/NSMenuItem.h>
|
||||
#include <AppKit/NSTextFieldCell.h>
|
||||
#include <AppKit/NSWindow.h>
|
||||
#include <AppKit/NSImage.h>
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include "GormResource.h"
|
||||
|
|
|
@ -124,11 +124,11 @@
|
|||
{
|
||||
if (![classManager parseHeader: file])
|
||||
{
|
||||
NSString *file = [file lastPathComponent];
|
||||
NSString *fileName = [file lastPathComponent];
|
||||
NSString *message;
|
||||
|
||||
message = [NSString stringWithFormat:
|
||||
_(@"Unable to parse class in %@"), file];
|
||||
_(@"Unable to parse class in %@"), fileName];
|
||||
|
||||
NSRunAlertPanel(_(@"Problem parsing class"),
|
||||
message,
|
||||
|
|
Loading…
Reference in a new issue