diff options
author | Evan Nemerson <evan@coeus-group.com> | 2012-06-15 23:24:56 -0700 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2012-06-23 17:34:45 +0200 |
commit | db3663bcfd1e1b30329278058e98209599e2118c (patch) | |
tree | e59aebb8bf2061fe8caacfdd24e75524db2b2923 | |
parent | cf25dab2db539d77c562053a8fd39600d22a6788 (diff) | |
download | vala-db3663bcfd1e1b30329278058e98209599e2118c.tar.gz |
bindings: update GIR-based bindings
-rw-r--r-- | vapi/Makefile.am | 2 | ||||
-rw-r--r-- | vapi/gdk-3.0.vapi | 6 | ||||
-rw-r--r-- | vapi/gio-2.0.vapi | 5 | ||||
-rw-r--r-- | vapi/libpeas-1.0.vapi | 3 | ||||
-rw-r--r-- | vapi/libsoup-2.4.vapi | 2 | ||||
-rw-r--r-- | vapi/poppler-glib.vapi | 2 | ||||
-rw-r--r-- | vapi/rest-0.7.vapi | 2 |
7 files changed, 18 insertions, 4 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am index dde4bbae1..02329b7fc 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -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 diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index a0679e55a..66066c592 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -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 { diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index f0258a2c0..274426903 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -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; diff --git a/vapi/libpeas-1.0.vapi b/vapi/libpeas-1.0.vapi index 803683483..987cbd938 100644 --- a/vapi/libpeas-1.0.vapi +++ b/vapi/libpeas-1.0.vapi @@ -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); diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi index 76c2b8a24..157281898 100644 --- a/vapi/libsoup-2.4.vapi +++ b/vapi/libsoup-2.4.vapi @@ -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 (); diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi index ffa952b06..e2c5ffd1b 100644 --- a/vapi/poppler-glib.vapi +++ b/vapi/poppler-glib.vapi @@ -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 (); diff --git a/vapi/rest-0.7.vapi b/vapi/rest-0.7.vapi index 6d4133ad8..bb5efd5e5 100644 --- a/vapi/rest-0.7.vapi +++ b/vapi/rest-0.7.vapi @@ -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] |