[vala] clutter-1.0: Fix constructors which weren't detected as such
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] clutter-1.0: Fix constructors which weren't detected as such
- Date: Sat, 8 Oct 2016 21:41:51 +0000 (UTC)
commit 22ee9f66c456b11f0ce9d3a0d1a8bdf04df64b3c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Oct 8 23:28:17 2016 +0200
clutter-1.0: Fix constructors which weren't detected as such
vapi/clutter-1.0.vapi | 10 ++++------
vapi/metadata/Clutter-1.0.metadata | 4 ++++
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 3b6460b..4b769df 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -5960,11 +5960,10 @@ namespace Clutter {
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_canvas_get_type ()")]
[Version (since = "1.10")]
public class Canvas : GLib.Object, Clutter.Content {
- [CCode (has_construct_function = false)]
- protected Canvas ();
+ [CCode (has_construct_function = false, type = "ClutterContent*")]
+ public Canvas ();
[Version (since = "1.18")]
public int get_scale_factor ();
- public static Clutter.Content @new ();
[Version (since = "1.18")]
public void set_scale_factor (int scale);
public bool set_size (int width, int height);
@@ -6448,9 +6447,8 @@ namespace Clutter {
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_image_get_type ()")]
[Version (since = "1.10")]
public class Image : GLib.Object, Clutter.Content {
- [CCode (has_construct_function = false)]
- protected Image ();
- public static Clutter.Content @new ();
+ [CCode (has_construct_function = false, type = "ClutterContent*")]
+ public Image ();
public bool set_area ([CCode (array_length = false)] uint8[] data, Cogl.PixelFormat
pixel_format, Cairo.RectangleInt rect, uint row_stride) throws GLib.Error;
[Version (since = "1.12")]
public bool set_bytes (GLib.Bytes data, Cogl.PixelFormat pixel_format, uint width, uint
height, uint row_stride) throws GLib.Error;
diff --git a/vapi/metadata/Clutter-1.0.metadata b/vapi/metadata/Clutter-1.0.metadata
index 77e1611..ca27a52 100644
--- a/vapi/metadata/Clutter-1.0.metadata
+++ b/vapi/metadata/Clutter-1.0.metadata
@@ -16,7 +16,11 @@ Actor
.apply_transform.matrix ref
.get_abs_allocation_vertices.verts out=false
.get_allocation_vertices.verts out=false
+Canvas
+ .new symbol_type="constructor"
Event.type#method name="get_type"
+Image
+ .new symbol_type="constructor"
// ???
Actor.has_pointer#method name="get_has_pointer"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]