mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:01:08 +00:00
Correct extra retain count issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17576 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2677902f96
commit
7f15b1ab39
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* GSNibTemplates.m: [GSNibContainer awakeWithContext:]
|
||||||
|
was not releasing the connections in the array after calling
|
||||||
|
establishConnection. Once this is done, the connections
|
||||||
|
are no longer needed.
|
||||||
|
|
||||||
2003-08-30 Fred Kiefer <FredKiefer@gmx.de>
|
2003-08-30 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSWindowController.m
|
* Source/NSWindowController.m
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
#include <Foundation/NSString.h>
|
#include <Foundation/NSString.h>
|
||||||
#include <Foundation/NSUserDefaults.h>
|
#include <Foundation/NSUserDefaults.h>
|
||||||
#include <Foundation/NSKeyValueCoding.h>
|
#include <Foundation/NSKeyValueCoding.h>
|
||||||
#include "AppKit/NSApplication.h"
|
|
||||||
#include "AppKit/NSMenu.h"
|
#include "AppKit/NSMenu.h"
|
||||||
#include "AppKit/NSControl.h"
|
#include "AppKit/NSControl.h"
|
||||||
#include "AppKit/NSImage.h"
|
#include "AppKit/NSImage.h"
|
||||||
|
@ -51,8 +50,6 @@
|
||||||
#include "AppKit/NSView.h"
|
#include "AppKit/NSView.h"
|
||||||
#include "AppKit/NSTextView.h"
|
#include "AppKit/NSTextView.h"
|
||||||
#include "AppKit/NSWindow.h"
|
#include "AppKit/NSWindow.h"
|
||||||
#include "AppKit/NSNibConnector.h"
|
|
||||||
#include "AppKit/NSNibLoading.h"
|
|
||||||
#include <AppKit/NSNibLoading.h>
|
#include <AppKit/NSNibLoading.h>
|
||||||
#include <AppKit/NSNibConnector.h>
|
#include <AppKit/NSNibConnector.h>
|
||||||
#include <AppKit/NSApplication.h>
|
#include <AppKit/NSApplication.h>
|
||||||
|
@ -125,6 +122,8 @@ static const int currentVersion = 1; // GSNibItem version number...
|
||||||
val = [nameTable objectForKey: [connection destination]];
|
val = [nameTable objectForKey: [connection destination]];
|
||||||
[connection setDestination: val];
|
[connection setDestination: val];
|
||||||
[connection establishConnection];
|
[connection establishConnection];
|
||||||
|
// release the connections, now that they have been established.
|
||||||
|
RELEASE(connection);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue