summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-10-08 23:32:33 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2016-10-08 23:32:33 +0200
commite79d86a84ee3252798e2f606561932802b2a65c6 (patch)
tree01810300a29db5d0da9708597b2b61309be57a64
parent22ee9f66c456b11f0ce9d3a0d1a8bdf04df64b3c (diff)
downloadvala-e79d86a84ee3252798e2f606561932802b2a65c6.tar.gz
clutter-gst-3.0: Fix constructors which weren't detected as such
-rw-r--r--vapi/clutter-gst-3.0.vapi10
-rw-r--r--vapi/metadata/ClutterGst-3.0.metadata4
2 files changed, 8 insertions, 6 deletions
diff --git a/vapi/clutter-gst-3.0.vapi b/vapi/clutter-gst-3.0.vapi
index 17758bac5..0ae5d2ce7 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 4fa1a3988..911c9af88 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>"