]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-3.0: Drop the abstract keyword from the Cursor class
authorLuca Bruno <lucabru@src.gnome.org>
Thu, 22 Dec 2011 20:13:56 +0000 (21:13 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Thu, 22 Dec 2011 20:13:56 +0000 (21:13 +0100)
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.

vapi/gdk-3.0.vapi
vapi/metadata/Gdk-3.0.metadata

index 710ee5dbe867a1d5ee10a50fd67055e6f27cf2e3..ed14c82dbfbcbdac2695cbc20e4663ef758df378 100644 (file)
@@ -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)]
index 186f40f16f349ad5f7a57087fde948448f15734f..febd44b93da5796747302bb6b4c9125925860394 100644 (file)
@@ -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