Minor cleanup.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18886 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-03-24 20:44:23 +00:00
parent 772c73fc2c
commit 0d7f95eb9d
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2004-03-24 15:36 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/GormMenuEditor.m: Minor cleanup which prevents
menu from being dragged into a menu.
* GormDocument.[hm]: Cleanup of reference to class GormProxyObject.
Should have been GormObjectProxy. Minor issue.
2004-03-24 01:00 Gregory John Casamento <greg_casamento@yahoo.com> 2004-03-24 01:00 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: [GormDocument attachObject:toParent:] changes * GormDocument.m: [GormDocument attachObject:toParent:] changes

View file

@ -30,7 +30,7 @@
#include <Foundation/Foundation.h> #include <Foundation/Foundation.h>
#include <GNUstepGUI/GSNibTemplates.h> #include <GNUstepGUI/GSNibTemplates.h>
@class GormClassManager, GormClassEditor, GormProxyObject; @class GormClassManager, GormClassEditor, GormObjectProxy;
/* /*
* Each document has a GormFirstResponder object that is used as a placeholder * Each document has a GormFirstResponder object that is used as a placeholder
@ -46,7 +46,7 @@
GormClassManager *classManager; GormClassManager *classManager;
GormFilesOwner *filesOwner; GormFilesOwner *filesOwner;
GormFirstResponder *firstResponder; GormFirstResponder *firstResponder;
GormProxyObject *fontManager; GormObjectProxy *fontManager;
GormClassEditor *classEditor; // perhaps should not be here... GormClassEditor *classEditor; // perhaps should not be here...
NSString *documentPath; NSString *documentPath;
NSMapTable *objToName; NSMapTable *objToName;

View file

@ -243,7 +243,7 @@ static NSImage *classesImage = nil;
RELEASE(item); RELEASE(item);
// set the holder in the document. // set the holder in the document.
fontManager = (GormProxyObject *)item; fontManager = (GormObjectProxy *)item;
[selectionView selectCellWithTag: 0]; [selectionView selectCellWithTag: 0];
[selectionBox setContentView: scrollView]; [selectionBox setContentView: scrollView];
@ -792,7 +792,7 @@ static NSImage *classesImage = nil;
RELEASE(hidden); RELEASE(hidden);
RELEASE(filesOwner); RELEASE(filesOwner);
RELEASE(firstResponder); RELEASE(firstResponder);
// RELEASE(fontManager); RELEASE(fontManager);
if (objToName != 0) if (objToName != 0)
{ {
NSFreeMapTable(objToName); NSFreeMapTable(objToName);