2005-08-22 Ben Maurer <bmaurer@novell.com>
* gtk/NodeView.cs: Fix leak here. r=mkestner svn path=/trunk/gtk-sharp/; revision=48682
This commit is contained in:
parent
349de99a82
commit
3fb0631c4e
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-08-22 Ben Maurer <bmaurer@novell.com>
|
||||||
|
|
||||||
|
* gtk/NodeView.cs: Fix leak here. r=mkestner
|
||||||
|
|
||||||
2005-08-22 Mike Kestner <mkestner@novell.com>
|
2005-08-22 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* parser/gapi2xml.pl : handle "type const *" parameters.
|
* parser/gapi2xml.pl : handle "type const *" parameters.
|
||||||
|
|
|
@ -31,6 +31,7 @@ namespace Gtk {
|
||||||
public class NodeView : TreeView {
|
public class NodeView : TreeView {
|
||||||
|
|
||||||
NodeStore store;
|
NodeStore store;
|
||||||
|
NodeSelection selection;
|
||||||
|
|
||||||
public NodeView (NodeStore store) : base (IntPtr.Zero)
|
public NodeView (NodeStore store) : base (IntPtr.Zero)
|
||||||
{
|
{
|
||||||
|
@ -49,7 +50,9 @@ namespace Gtk {
|
||||||
|
|
||||||
public NodeSelection NodeSelection {
|
public NodeSelection NodeSelection {
|
||||||
get {
|
get {
|
||||||
return new NodeSelection (Selection);
|
if (selection == null)
|
||||||
|
selection = new NodeSelection (Selection);
|
||||||
|
return selection;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue