]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: update gir based bindings
authorEvan Nemerson <evan@coeus-group.com>
Mon, 6 Aug 2012 23:08:42 +0000 (16:08 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Mon, 6 Aug 2012 23:41:29 +0000 (16:41 -0700)
vapi/clutter-1.0.vapi
vapi/gdk-3.0.vapi
vapi/gdk-pixbuf-2.0.vapi
vapi/gio-2.0.vapi

index 736427e0604b1d1e3ab20b30097f787b33d0400e..aad4aca1204d7c0d0165e13b7841a5bcac58d2df 100644 (file)
@@ -4661,7 +4661,7 @@ namespace Clutter {
                public unowned Clutter.Animation animatev (ulong mode, uint duration, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] GLib.Value[] values);
                public Clutter.Vertex apply_relative_transform_to_point (Clutter.Actor? ancestor, Clutter.Vertex point);
                [NoWrapper]
-               public virtual void apply_transform (ref Cogl.Matrix matrix);
+               public virtual void apply_transform (ref Clutter.Matrix matrix);
                public Clutter.Vertex apply_transform_to_point (Clutter.Vertex point);
                public void clear_actions ();
                public void clear_constraints ();
@@ -4763,7 +4763,9 @@ namespace Clutter {
                public void get_size (out float width, out float height);
                public unowned Clutter.Stage get_stage ();
                public Clutter.TextDirection get_text_direction ();
-               public Cogl.Matrix get_transformation_matrix ();
+               public Clutter.Matrix get_transform ();
+               [Deprecated (since = "1.12")]
+               public Clutter.Matrix get_transformation_matrix ();
                public unowned Clutter.PaintVolume get_transformed_paint_volume (Clutter.Actor relative_to_ancestor);
                public void get_transformed_position (out float x, out float y);
                public void get_transformed_size (out float width, out float height);
@@ -4893,6 +4895,7 @@ namespace Clutter {
                public void set_shader_param_int (string param, int value);
                public void set_size (float width, float height);
                public void set_text_direction (Clutter.TextDirection text_dir);
+               public void set_transform (Clutter.Matrix? transform);
                public void set_translation (float translate_x, float translate_y, float translate_z);
                public void set_width (float width);
                public void set_x (float x);
@@ -5030,6 +5033,8 @@ namespace Clutter {
                public Clutter.Size size { owned get; set; }
                public Clutter.TextDirection text_direction { get; set; }
                [NoAccessorMethod]
+               public bool transform_set { get; }
+               [NoAccessorMethod]
                public float translation_x { get; set; }
                [NoAccessorMethod]
                public float translation_y { get; set; }
@@ -5073,6 +5078,7 @@ namespace Clutter {
                [HasEmitter]
                public virtual signal void show ();
                public virtual signal bool touch_event (Clutter.Event event);
+               public signal void transition_stopped (string name, bool is_finished);
                public signal void transitions_completed ();
                [HasEmitter]
                public virtual signal void unrealize ();
@@ -7301,6 +7307,15 @@ namespace Clutter {
                public bool equal (Clutter.Knot knot_b);
                public void free ();
        }
+       [CCode (cheader_filename = "clutter/clutter.h")]
+       public struct Matrix : Cogl.Matrix {
+               public static Clutter.Matrix alloc ();
+               public static void free (Clutter.Matrix? matrix);
+               public static GLib.Type get_type ();
+               public static Clutter.Matrix init_from_array (Clutter.Matrix matrix, [CCode (array_length = false)] float[] values);
+               public static Clutter.Matrix init_from_matrix (Clutter.Matrix a, Clutter.Matrix b);
+               public static Clutter.Matrix init_identity (Clutter.Matrix matrix);
+       }
        [CCode (cheader_filename = "clutter/clutter.h", has_type_id = false)]
        public struct MotionEvent {
                public Clutter.EventType type;
index b9ac36eb33a3e0bc47074511e7f80650f6e998e5..9acbd85def88aebedabdba2e7357bc25d56771ac 100644 (file)
@@ -6007,12 +6007,16 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static uint threads_add_timeout_seconds_full (int priority, uint interval, owned GLib.SourceFunc function);
        [CCode (cheader_filename = "gdk/gdk.h")]
+       [Deprecated (since = "3.6")]
        public static void threads_enter ();
        [CCode (cheader_filename = "gdk/gdk.h")]
+       [Deprecated (since = "3.6")]
        public static void threads_init ();
        [CCode (cheader_filename = "gdk/gdk.h")]
+       [Deprecated (since = "3.6")]
        public static void threads_leave ();
        [CCode (cheader_filename = "gdk/gdk.h")]
+       [Deprecated (since = "3.6")]
        public static void threads_set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static uint unicode_to_keyval (uint32 wc);
index 0c9e96a134de923124e9d11f175e0a92e9a66090..a9180bbaa152cb627e942944711d611c7a0adc2a 100644 (file)
@@ -40,7 +40,7 @@ namespace Gdk {
                [CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
                public async Pixbuf.from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [CCode (has_construct_function = false)]
-               public Pixbuf.from_xpm_data ([CCode (array_length = false, type = "const char**")] string[] data);
+               public Pixbuf.from_xpm_data ([CCode (array_length = false, array_null_terminated = true)] string[] data);
                public int get_bits_per_sample ();
                public size_t get_byte_length ();
                public Gdk.Colorspace get_colorspace ();
@@ -95,7 +95,7 @@ namespace Gdk {
                [CCode (has_construct_function = false)]
                public PixbufAnimation.from_file (string filename) throws GLib.Error;
                public int get_height ();
-               public Gdk.PixbufAnimationIter get_iter (GLib.TimeVal start_time);
+               public Gdk.PixbufAnimationIter get_iter (GLib.TimeVal? start_time);
                public unowned Gdk.Pixbuf get_static_image ();
                public int get_width ();
                public bool is_static_image ();
@@ -104,7 +104,7 @@ namespace Gdk {
        public class PixbufAnimationIter : GLib.Object {
                [CCode (has_construct_function = false)]
                protected PixbufAnimationIter ();
-               public bool advance (GLib.TimeVal current_time);
+               public bool advance (GLib.TimeVal? current_time);
                public int get_delay_time ();
                public unowned Gdk.Pixbuf get_pixbuf ();
                public bool on_currently_loading_frame ();
index b8dda756cdd71f87f04b44ed64fbcfbe9dfdb155..399a399647347d7bdf60bdc6126fc96475bdfb2e 100644 (file)
@@ -2029,6 +2029,7 @@ namespace GLib {
                [CCode (has_construct_function = false)]
                public TlsCertificate.from_pem (string data, ssize_t length) throws GLib.Error;
                public unowned GLib.TlsCertificate get_issuer ();
+               public bool is_same (GLib.TlsCertificate cert_two);
                public static GLib.List<GLib.TlsCertificate> list_new_from_file (string file) throws GLib.Error;
                public virtual GLib.TlsCertificateFlags verify (GLib.SocketConnectable? identity, GLib.TlsCertificate? trusted_ca);
                [NoAccessorMethod]
@@ -2380,6 +2381,9 @@ namespace GLib {
                public abstract async GLib.FileIOStream create_readwrite_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [CCode (vfunc_name = "delete_file")]
                public abstract bool @delete (GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool delete_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               [NoWrapper]
+               public abstract async bool delete_file_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract GLib.File dup ();
                [Deprecated (since = "2.22")]
                public abstract async bool eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;