2002-10-14 Mike Kestner <mkestner@speakeasy.net>

* glib/Object.cs (GetObject): remove (int) cast

svn path=/trunk/gtk-sharp/; revision=8277
This commit is contained in:
Mike Kestner 2002-10-15 04:07:24 +00:00
parent 564a7978c6
commit 58b5241e6f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-10-14 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs (GetObject): remove (int) cast
2002-10-11 Martin Baulig <martin@gnome.org> 2002-10-11 Martin Baulig <martin@gnome.org>
* gtk/Combo.custom: New file. * gtk/Combo.custom: New file.

View file

@ -104,7 +104,7 @@ namespace GLib {
public static Object GetObject(IntPtr o) public static Object GetObject(IntPtr o)
{ {
Object obj = (Object)Objects[(int)o]; Object obj = (Object)Objects[o];
if (obj != null) return obj; if (obj != null) return obj;
return GtkSharp.ObjectManager.CreateObject(o); return GtkSharp.ObjectManager.CreateObject(o);
} }