]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 19 Sep 2014 15:36:19 +0000 (17:36 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 19 Sep 2014 15:36:19 +0000 (17:36 +0200)
vapi/clutter-1.0.vapi
vapi/gio-2.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gtksourceview-3.0.vapi
vapi/libgdata.vapi
vapi/metadata/Gio-2.0-custom.vala

index ace700bf55ac79b9664e155eb993c43ee1e036f9..4ce9e09bb9a09fb18b7ec1f29620899bfecd31af 100644 (file)
@@ -8290,8 +8290,6 @@ namespace Clutter {
        [CCode (cheader_filename = "clutter/clutter.h")]
        public static bool test_check_color_at_point (Clutter.Actor stage, Clutter.Point point, Clutter.Color color, Clutter.Color result);
        [CCode (cheader_filename = "clutter/clutter.h")]
-       public static unowned Clutter.Actor test_get_stage ();
-       [CCode (cheader_filename = "clutter/clutter.h")]
        public static void test_init (int argc, string argv);
        [CCode (cheader_filename = "clutter/clutter.h")]
        public static int test_run ();
index 5baa03495690622456b0d9d7e5703463f4caf551..5703ea85caed2f32c8f18b1ae6275beeb925f505 100644 (file)
@@ -279,7 +279,7 @@ namespace GLib {
        public class Application : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
                [CCode (has_construct_function = false)]
                public Application (string? application_id, GLib.ApplicationFlags flags);
-               public void add_main_option (string long_name, char short_name, int flags, GLib.OptionArg arg, string description, string? arg_description);
+               public void add_main_option (string long_name, char short_name, GLib.OptionFlags flags, GLib.OptionArg arg, string description, string? arg_description);
                public void add_main_option_entries ([CCode (array_length = false, array_null_terminated = true)] GLib.OptionEntry[] entries);
                public void add_option_group (GLib.OptionGroup group);
                [NoWrapper]
@@ -321,7 +321,7 @@ namespace GLib {
                public void set_default ();
                public void set_flags (GLib.ApplicationFlags flags);
                public void set_inactivity_timeout (uint inactivity_timeout);
-               public void set_resource_base_path (string resource_base_path);
+               public void set_resource_base_path (string? resource_path);
                public void unmark_busy ();
                public void withdraw_notification (string id);
                public GLib.ActionGroup action_group { set; }
@@ -1493,7 +1493,7 @@ namespace GLib {
                public virtual void get_item_attributes (int item_index, [CCode (type = "GHashTable**")] out GLib.HashTable<string,GLib.Variant>? attributes);
                public virtual GLib.MenuModel get_item_link (int item_index, string link);
                [NoWrapper]
-               public virtual void get_item_links (int item_index, [CCode (type = "GHashTable**")] out GLib.HashTable<string,GLib.MenuModel>? links);
+               public virtual void get_item_links (int item_index, out GLib.HashTable<string,GLib.MenuModel> links);
                public virtual int get_n_items ();
                public virtual bool is_mutable ();
                public virtual GLib.MenuAttributeIter iterate_item_attributes (int item_index);
index 003d7abeadf927c0bf838978612e5d88a8d1e470..73a42c9240c3ebeb972bd7de7683138d925f32f4 100644 (file)
@@ -1691,7 +1691,7 @@ namespace Gst {
                public Query.accept_caps (Gst.Caps caps);
                public void add_allocation_meta (GLib.Type api, Gst.Structure? @params);
                public void add_allocation_param (Gst.Allocator? allocator, Gst.AllocationParams? @params);
-               public void add_allocation_pool (Gst.BufferPool pool, uint size, uint min_buffers, uint max_buffers);
+               public void add_allocation_pool (Gst.BufferPool? pool, uint size, uint min_buffers, uint max_buffers);
                public bool add_buffering_range (int64 start, int64 stop);
                public void add_scheduling_mode (Gst.PadMode mode);
                [CCode (has_construct_function = false)]
@@ -1774,7 +1774,7 @@ namespace Gst {
                public void set_formatsv ([CCode (array_length_cname = "n_formats", array_length_pos = 0.5)] Gst.Format[] formats);
                public void set_latency (bool live, Gst.ClockTime min_latency, Gst.ClockTime max_latency);
                public void set_nth_allocation_param (uint index, Gst.Allocator? allocator, Gst.AllocationParams? @params);
-               public void set_nth_allocation_pool (uint index, Gst.BufferPool pool, uint size, uint min_buffers, uint max_buffers);
+               public void set_nth_allocation_pool (uint index, Gst.BufferPool? pool, uint size, uint min_buffers, uint max_buffers);
                public void set_position (Gst.Format format, int64 cur);
                public void set_scheduling (Gst.SchedulingFlags flags, int minsize, int maxsize, int align);
                public void set_seeking (Gst.Format format, bool seekable, int64 segment_start, int64 segment_end);
index c3a622bcdbdabbd77546fe60713465e35d1aed58..5b0b9af6ff560ef18e5b2f3397e961d7b37d2e32 100644 (file)
@@ -66,7 +66,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_get_type ()")]
        [GIR (name = "Completion")]
-       public class SourceCompletion : GLib.Object {
+       public class SourceCompletion : GLib.Object, Gtk.Buildable {
                [CCode (has_construct_function = false)]
                protected SourceCompletion ();
                public bool add_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
index 32a3f0533b55bfa93f91ed8e1fe2054ea240ac86..585b69e65e2bf9dcf3b7563a72c142b8299ef1f3 100644 (file)
@@ -2054,7 +2054,8 @@ namespace GData {
                BAD_QUERY_PARAMETER,
                NETWORK_ERROR,
                PROXY_ERROR,
-               WITH_BATCH_OPERATION;
+               WITH_BATCH_OPERATION,
+               API_QUOTA_EXCEEDED;
                public static GLib.Quark quark ();
        }
        [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_SERVICE_ERROR_")]
@@ -2339,6 +2340,10 @@ namespace GData {
        public const string PICASAWEB_VIDEO_STATUS_PENDING;
        [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_PICASAWEB_VIDEO_STATUS_READY")]
        public const string PICASAWEB_VIDEO_STATUS_READY;
+       [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_TASKS_STATUS_COMPLETED")]
+       public const string TASKS_STATUS_COMPLETED;
+       [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_TASKS_STATUS_NEEDS_ACTION")]
+       public const string TASKS_STATUS_NEEDS_ACTION;
        [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_COMMENT")]
        public const string YOUTUBE_ACTION_COMMENT;
        [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_YOUTUBE_ACTION_COMMENT_VOTE")]
index 995f2b3b4808557958b1871433b56c12e02293e6..0d6ecbe424db531cee72c92f73230082605620b6 100644 (file)
@@ -28,12 +28,6 @@ namespace GLib {
                public void set_callback ([CCode (type = "GSourceFunc")] owned CancellableSourceFunc func);
        }
 
-       [CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_model_get_type ()")]
-       public abstract class MenuModel : GLib.Object {
-               [NoWrapper]
-               public virtual void get_item_links (int item_index, [CCode (type = "GHashTable**")] out GLib.HashTable<string,GLib.MenuModel>? links);
-       }
-
        public class DBusConnection : GLib.Object, GLib.AsyncInitable, GLib.Initable {
                [CCode (cname = "g_dbus_connection_new", finish_function = "g_dbus_connection_new_finish")]
                public static async GLib.DBusConnection @new (GLib.IOStream stream, string guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;