[vala/0.34] clutter-gst-3.0: Fix constructors which weren't detected as such
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] clutter-gst-3.0: Fix constructors which weren't detected as such
- Date: Sat, 8 Oct 2016 21:41:42 +0000 (UTC)
commit 4e3e0215a5544deacd77db748754da3baccb2d25
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Oct 8 23:32:33 2016 +0200
clutter-gst-3.0: Fix constructors which weren't detected as such
vapi/clutter-gst-3.0.vapi | 10 ++++------
vapi/metadata/ClutterGst-3.0.metadata | 4 ++++
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/vapi/clutter-gst-3.0.vapi b/vapi/clutter-gst-3.0.vapi
index 17758ba..0ae5d2c 100644
--- a/vapi/clutter-gst-3.0.vapi
+++ b/vapi/clutter-gst-3.0.vapi
@@ -18,9 +18,8 @@ namespace ClutterGst {
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_aspectratio_get_type
()")]
public class Aspectratio : ClutterGst.Content, Clutter.Content {
- [CCode (has_construct_function = false)]
- protected Aspectratio ();
- public static Clutter.Content @new ();
+ [CCode (has_construct_function = false, type = "ClutterContent*")]
+ public Aspectratio ();
[NoAccessorMethod]
[Version (since = "3.0")]
public bool fill_allocation { get; set; }
@@ -110,8 +109,8 @@ namespace ClutterGst {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_content_get_type ()")]
[Version (since = "0.0")]
public class Content : GLib.Object, Clutter.Content {
- [CCode (has_construct_function = false)]
- protected Content ();
+ [CCode (has_construct_function = false, type = "ClutterContent*")]
+ public Content ();
[Version (since = "3.0")]
public unowned ClutterGst.Frame get_frame ();
[Version (since = "3.0")]
@@ -122,7 +121,6 @@ namespace ClutterGst {
public unowned ClutterGst.VideoSink get_sink ();
[NoWrapper]
public virtual bool has_painting_content ();
- public static Clutter.Content @new ();
[Version (since = "3.0")]
public static Clutter.Content new_with_sink (ClutterGst.VideoSink sink);
[Version (since = "3.0")]
diff --git a/vapi/metadata/ClutterGst-3.0.metadata b/vapi/metadata/ClutterGst-3.0.metadata
index 4fa1a39..911c9af 100644
--- a/vapi/metadata/ClutterGst-3.0.metadata
+++ b/vapi/metadata/ClutterGst-3.0.metadata
@@ -10,6 +10,10 @@ init_with_args
.entries array nullable default=null
.translation_domain nullable default=null
+Aspectratio
+ .new symbol_type="constructor"
+Content
+ .new symbol_type="constructor"
Playback
.audio_streams type="GLib.List<string>"
.subtitle_tracks type="GLib.List<string>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]