From 6556eeb6108babf03d9c3270555a877d9bb7e9e2 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Sun, 12 Jun 2011 20:25:16 +0200 Subject: [PATCH] Implement GetHashCode() in TreePath.custom This fixes a warning about GetHashCode() not being implement while Equals is. --- gtk/TreePath.custom | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/TreePath.custom b/gtk/TreePath.custom index 146791a94..5d44531ba 100644 --- a/gtk/TreePath.custom +++ b/gtk/TreePath.custom @@ -39,3 +39,9 @@ return (Compare (o as TreePath) == 0); } + + public override int GetHashCode () + { + return ToString ().GetHashCode (); + } +