2007-04-23 Brad Taylor <brad@getcoded.net>

* gtk/TreePath.custom: Override Equals and compare based upon the
	  underlying indicies, instead of the object reference.
	  [Fixes #81398]


svn path=/trunk/gtk-sharp/; revision=76131
This commit is contained in:
Brad Taylor 2007-04-23 16:26:13 +00:00
parent 9611a6352f
commit d802b53549
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-04-23 Brad Taylor <brad@getcoded.net>
* gtk/TreePath.custom: Override Equals and compare based upon the
underlying indicies, instead of the object reference.
[Fixes #81398]
2007-04-23 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : add support for accessing generic struct boxed types

View File

@ -34,3 +34,11 @@
foreach (int i in indices)
AppendIndex (i);
}
public override bool Equals (object o)
{
if (!(o is TreePath))
return false;
return (Compare (o as TreePath) == 0);
}