applied patch from David Ayers

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@14791 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
dwetzel 2002-10-16 15:38:34 +00:00
parent e2ec77245b
commit 8c729f6eb8
4 changed files with 13 additions and 0 deletions

View file

@ -626,7 +626,12 @@ int GSWApplicationMain(NSString* applicationClassName,
DESTROY(_activeSessionsCountLock);
if (GSWApp == self)
{
GSWApp = nil;
#if !GSWEB_WONAMES
WOApp = nil;
#endif
}
GSWLogMemC("Dealloc GSWApplication Super");
[super dealloc];
@ -2975,6 +2980,9 @@ selfLockn,
[application class],
[application name]);
GSWApp=application;
#if !GSWEB_WONAMES
WOApp=application;
#endif
};
@end

View file

@ -257,6 +257,8 @@
@interface WOHyperlink : GSWHyperlink
@end
extern WOApplication *WOApp;
#endif
#endif // _GSWWOCompatibility_h__

View file

@ -256,6 +256,8 @@ static char rcsId[] = "$Id$";
@implementation WOHyperlink
@end
WOApplication *WOApp=nil;
#endif

View file

@ -76,6 +76,7 @@
#if GSWEB_WONAMES
#define GSWAdaptor WOAdaptor
#define GSWDefaultAdaptor WODefaultAdaptor
#define GSWApplication WOApplication
#define GSWAssociation WOAssociation
#define GSWComponent WOComponent