diff --git a/ChangeLog b/ChangeLog index ba68a577d..1531ca405 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-23 Brad Taylor + + * gtk/TreePath.custom: Override Equals and compare based upon the + underlying indicies, instead of the object reference. + [Fixes #81398] + 2007-04-23 Mike Kestner * glib/Value.cs : add support for accessing generic struct boxed types diff --git a/gtk/TreePath.custom b/gtk/TreePath.custom index 2deb41696..3a4d74da5 100644 --- a/gtk/TreePath.custom +++ b/gtk/TreePath.custom @@ -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); + }