From: Luca Bruno Date: Thu, 22 Dec 2011 20:13:56 +0000 (+0100) Subject: gdk-3.0: Drop the abstract keyword from the Cursor class X-Git-Tag: 0.15.1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c116dc6e350575bcd117546249cfaffaed8cd0c4;p=thirdparty%2Fvala.git gdk-3.0: Drop the abstract keyword from the Cursor class Vala does not allow creating new Cursor if the class is abstract. As it doesn't affect its usage at all, drop the keyword instead of breaking the backward compatibility. Fixes bug 665624. --- diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index 710ee5dbe..ed14c82db 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -4552,7 +4552,7 @@ namespace Gdk { public Gdk.Display display { owned get; construct; } } [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_cursor_get_type ()")] - public abstract class Cursor : GLib.Object { + public class Cursor : GLib.Object { [CCode (has_construct_function = false)] public Cursor (Gdk.CursorType cursor_type); [CCode (has_construct_function = false)] diff --git a/vapi/metadata/Gdk-3.0.metadata b/vapi/metadata/Gdk-3.0.metadata index 186f40f16..febd44b93 100644 --- a/vapi/metadata/Gdk-3.0.metadata +++ b/vapi/metadata/Gdk-3.0.metadata @@ -2,7 +2,7 @@ KEY_* name="KEY_(.+)" parent="Gdk.Key" selection_* name="selection_(.+)" parent="Gdk.Selection" Atom struct Color struct -Cursor +Cursor abstract=false .get_image nullable Device .free_history skip=false