Implement GetHashCode() in TreePath.custom

This fixes a warning about GetHashCode() not being implement while
Equals is.
This commit is contained in:
Bertrand Lorentz 2011-06-12 20:25:16 +02:00
parent 64a0c81868
commit 6556eeb610

View File

@ -39,3 +39,9 @@
return (Compare (o as TreePath) == 0);
}
public override int GetHashCode ()
{
return ToString ().GetHashCode ();
}