[vala] gdk-3.0: Drop the abstract keyword from the Cursor class
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gdk-3.0: Drop the abstract keyword from the Cursor class
- Date: Thu, 22 Dec 2011 20:19:59 +0000 (UTC)
commit c116dc6e350575bcd117546249cfaffaed8cd0c4
Author: Luca Bruno <lucabru src gnome org>
Date: Thu Dec 22 21:13:56 2011 +0100
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.
vapi/gdk-3.0.vapi | 2 +-
vapi/metadata/Gdk-3.0.metadata | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 710ee5d..ed14c82 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 186f40f..febd44b 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]