--- gdk-2.0.vala.orig 2007-08-12 19:04:20.000000000 +0200 +++ gdk-2.0.vala 2007-08-12 19:04:24.000000000 +0200 @@ -1177,7 +1177,7 @@ [InstanceByReference] public weak string to_string (); } - [ReferenceType] + [ReferenceType (free_function = "gdk_cursor_unref")] [CCode (cheader_filename = "gdk/gdk.h")] public struct Cursor { public Gdk.CursorType type;