mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:55:29 +00:00
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:
parent
9611a6352f
commit
d802b53549
|
@ -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>
|
2007-04-23 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* glib/Value.cs : add support for accessing generic struct boxed types
|
* glib/Value.cs : add support for accessing generic struct boxed types
|
||||||
|
|
|
@ -34,3 +34,11 @@
|
||||||
foreach (int i in indices)
|
foreach (int i in indices)
|
||||||
AppendIndex (i);
|
AppendIndex (i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool Equals (object o)
|
||||||
|
{
|
||||||
|
if (!(o is TreePath))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return (Compare (o as TreePath) == 0);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue