]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: update GIR-based bindings
authorEvan Nemerson <evan@coeus-group.com>
Sat, 16 Jun 2012 06:24:56 +0000 (23:24 -0700)
committerJürg Billeter <j@bitron.ch>
Sat, 23 Jun 2012 15:34:45 +0000 (17:34 +0200)
vapi/Makefile.am
vapi/gdk-3.0.vapi
vapi/gio-2.0.vapi
vapi/libpeas-1.0.vapi
vapi/libsoup-2.4.vapi
vapi/poppler-glib.vapi
vapi/rest-0.7.vapi

index dde4bbae1fb10f33c1b3fb3ec53cff2a8f235a8f..02329b7fc6ed0f6ec75dbab98407a821f153a366 100644 (file)
@@ -546,7 +546,7 @@ liboobs-1:
        $(GENVAPI) --library $(srcdir)/liboobs-1 $(PACKAGESDIR)/liboobs-1/liboobs-1.gi
 
 libpeas-1.0:
-       $(GENVAPI) --library $(srcdir)/libpeas-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/Peas-1.0.gir
+       $(GENVAPI) --library $(srcdir)/libpeas-1.0 --pkg gio-2.0 --metadatadir $(METADATADIR) $(GIRDIR)/Peas-1.0.gir
 
 librsvg-2.0:
        $(GENVAPI) --library $(srcdir)/librsvg-2.0 $(PACKAGESDIR)/librsvg-2.0/librsvg-2.0.gi
index a0679e55a64559800b76cd2d09f155e3baac5c3b..66066c592ff2dbe322dde3a4849c50d6b72e37cc 100644 (file)
@@ -4770,7 +4770,7 @@ namespace Gdk {
                public bool get_keyval (out uint keyval);
                public bool get_root_coords (out double x_root, out double y_root);
                public unowned Gdk.Screen get_screen ();
-               public bool get_scroll_deltas (double delta_x, double delta_y);
+               public bool get_scroll_deltas (out double delta_x, out double delta_y);
                public bool get_scroll_direction (out Gdk.ScrollDirection direction);
                public unowned Gdk.Device get_source_device ();
                public bool get_state (out Gdk.ModifierType state);
@@ -4878,7 +4878,7 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public class Window : GLib.Object {
                [CCode (has_construct_function = false)]
-               public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, int attributes_mask);
+               public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, Gdk.WindowAttributesType attributes_mask);
                public void add_filter (Gdk.FilterFunc function);
                [Deprecated (since = "3.0")]
                public static unowned Gdk.Window at_pointer (out int win_x, out int win_y);
@@ -5185,7 +5185,7 @@ namespace Gdk {
                public int8 send_event;
                public Gdk.Atom atom;
                public uint32 time;
-               public uint state;
+               public Gdk.PropertyState state;
        }
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
        public struct EventProximity {
index f0258a2c05805e77061b9f13d5d8f388e62a1bc0..27442690382b0ba7fe0f3e449655378230213843 100644 (file)
@@ -264,6 +264,10 @@ namespace GLib {
                public virtual void after_emit (GLib.Variant platform_data);
                [NoWrapper]
                public virtual void before_emit (GLib.Variant platform_data);
+               [NoWrapper]
+               public virtual bool dbus_register (GLib.DBusConnection connection, string object_path) throws GLib.Error;
+               [NoWrapper]
+               public virtual void dbus_unregister (GLib.DBusConnection connection, string object_path);
                public unowned string get_application_id ();
                public static unowned GLib.Application get_default ();
                public GLib.ApplicationFlags get_flags ();
@@ -470,6 +474,7 @@ namespace GLib {
                public GLib.DBusCapabilityFlags get_capabilities ();
                public bool get_exit_on_close ();
                public unowned string get_guid ();
+               public uint32 get_last_serial ();
                public unowned GLib.Credentials get_peer_credentials ();
                public async T get_proxy<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public T get_proxy_sync<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
index 8036834836d36e1f32cbf9a1b88fab81f678ae08..987cbd9385fdae71eedddf8a19b8a95eb4f80136 100644 (file)
@@ -16,6 +16,7 @@ namespace Peas {
                public string[] get_loaded_plugins ();
                public unowned Peas.PluginInfo get_plugin_info (string plugin_name);
                public unowned GLib.List<Peas.PluginInfo> get_plugin_list ();
+               public void prepend_search_path (string module_dir, string? data_dir);
                public bool provides_extension (Peas.PluginInfo info, GLib.Type extension_type);
                public void rescan_plugins ();
                public void set_loaded_plugins ([CCode (array_length = false, array_null_terminated = true)] string[]? plugin_names);
@@ -82,11 +83,13 @@ namespace Peas {
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_dependencies ();
                public unowned string get_description ();
+               public unowned string get_external_data (string key);
                public unowned string get_help_uri ();
                public unowned string get_icon_name ();
                public unowned string get_module_dir ();
                public unowned string get_module_name ();
                public unowned string get_name ();
+               public GLib.Settings get_settings (string? schema_id);
                public unowned string get_version ();
                public unowned string get_website ();
                public bool has_dependency (string module_name);
index 76c2b8a2411d515224c657b5a01cc24514764c4d..157281898c33ca9997b51443bccf5dedb71826a1 100644 (file)
@@ -276,9 +276,11 @@ namespace Soup {
                [CCode (has_construct_function = false)]
                public CookieJar ();
                public void add_cookie (Soup.Cookie cookie);
+               public void add_cookie_with_first_party (Soup.URI first_party, Soup.Cookie cookie);
                public GLib.SList<Soup.Cookie> all_cookies ();
                public void delete_cookie (Soup.Cookie cookie);
                public Soup.CookieJarAcceptPolicy get_accept_policy ();
+               public GLib.SList<Soup.Cookie> get_cookie_list (Soup.URI uri, bool for_http);
                public string get_cookies (Soup.URI uri, bool for_http);
                public virtual bool is_persistent ();
                public virtual void save ();
index ffa952b06572dc2e30ab6cf84c1be5ed5e018905..e2c5ffd1b0b3ee77f24f98234eafe64695ab7307 100644 (file)
@@ -244,10 +244,12 @@ namespace Poppler {
        public class FontsIter {
                public Poppler.FontsIter copy ();
                public void free ();
+               public unowned string get_encoding ();
                public unowned string get_file_name ();
                public Poppler.FontType get_font_type ();
                public unowned string get_full_name ();
                public unowned string get_name ();
+               public unowned string get_substitute_name ();
                public bool is_embedded ();
                public bool is_subset ();
                public bool next ();
index 6d4133ad8eae7c7d60c26fb70a58ce7976e63b3d..bb5efd5e540877f2d82b54cb06de8278e97238f6 100644 (file)
@@ -108,6 +108,8 @@ namespace Rest {
                [NoAccessorMethod]
                public string password { owned get; construct; }
                [NoAccessorMethod]
+               public bool ssl_strict { get; set; }
+               [NoAccessorMethod]
                public string url_format { owned get; set; }
                public string user_agent { get; set; }
                [NoAccessorMethod]