mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-24 04:01:16 +00:00
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:
parent
e2ec77245b
commit
8c729f6eb8
4 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -257,6 +257,8 @@
|
|||
@interface WOHyperlink : GSWHyperlink
|
||||
@end
|
||||
|
||||
extern WOApplication *WOApp;
|
||||
|
||||
#endif
|
||||
|
||||
#endif // _GSWWOCompatibility_h__
|
||||
|
|
|
@ -256,6 +256,8 @@ static char rcsId[] = "$Id$";
|
|||
@implementation WOHyperlink
|
||||
@end
|
||||
|
||||
WOApplication *WOApp=nil;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
|
||||
#if GSWEB_WONAMES
|
||||
#define GSWAdaptor WOAdaptor
|
||||
#define GSWDefaultAdaptor WODefaultAdaptor
|
||||
#define GSWApplication WOApplication
|
||||
#define GSWAssociation WOAssociation
|
||||
#define GSWComponent WOComponent
|
||||
|
|
Loading…
Reference in a new issue