]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
clutter-gst-3.0: Fix constructor which wasn't detected as such
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 22:05:15 +0000 (00:05 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 22:05:15 +0000 (00:05 +0200)
vapi/clutter-gst-3.0.vapi
vapi/metadata/ClutterGst-3.0.metadata

index 0ae5d2ce7f02e2bd849196f5d5af6de16b926372..2b5ae2e5b488bc4221f45adeaedd539147f99800 100644 (file)
@@ -122,13 +122,14 @@ namespace ClutterGst {
                [NoWrapper]
                public virtual bool has_painting_content ();
                [Version (since = "3.0")]
-               public static Clutter.Content new_with_sink (ClutterGst.VideoSink sink);
-               [Version (since = "3.0")]
                public void set_frame (ClutterGst.Frame frame);
                [Version (since = "3.0")]
                public void set_player (ClutterGst.Player player);
                [Version (since = "3.0")]
                public void set_sink (ClutterGst.VideoSink sink);
+               [CCode (has_construct_function = false, type = "ClutterContent*")]
+               [Version (since = "3.0")]
+               public Content.with_sink (ClutterGst.VideoSink sink);
                public ClutterGst.Frame frame { get; set; }
                [NoAccessorMethod]
                public bool paint_frame { get; set; }
index 911c9af88f4e68bcbfd2c02f7f02d5a08f84b100..db98a09d9748d266f02e67dc10ef630ed1f1bff0 100644 (file)
@@ -14,6 +14,7 @@ Aspectratio
   .new symbol_type="constructor"
 Content
   .new symbol_type="constructor"
+  .new_with_sink symbol_type="constructor"
 Playback
   .audio_streams type="GLib.List<string>"
   .subtitle_tracks type="GLib.List<string>"