]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
clutter-gst-3.0: Fix constructors which weren't detected as such
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 21:32:33 +0000 (23:32 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 21:32:33 +0000 (23:32 +0200)
vapi/clutter-gst-3.0.vapi
vapi/metadata/ClutterGst-3.0.metadata

index 17758bac58c04ddf74915cf5dbb87c915c5356c3..0ae5d2ce7f02e2bd849196f5d5af6de16b926372 100644 (file)
@@ -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")]
index 4fa1a3988130a0224ba99ddd9147b8466809d782..911c9af88f4e68bcbfd2c02f7f02d5a08f84b100 100644 (file)
@@ -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>"