[vala] bindings: update GIR-based bindings



commit 06921974ee683d6ec1f4e9b1449b3a0cbede04f1
Author: Evan Nemerson <evan coeus-group com>
Date:   Fri Jun 15 23:24:56 2012 -0700

    bindings: update GIR-based bindings

 vapi/Makefile.am       |    2 +-
 vapi/gdk-3.0.vapi      |    6 +++---
 vapi/gio-2.0.vapi      |    5 +++++
 vapi/libpeas-1.0.vapi  |    3 +++
 vapi/libsoup-2.4.vapi  |    2 ++
 vapi/poppler-glib.vapi |    2 ++
 vapi/rest-0.7.vapi     |    2 ++
 7 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index dde4bba..02329b7 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 a0679e5..66066c5 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 2c1b0ba..b8c6253 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -266,6 +266,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 unowned GLib.DBusConnection get_dbus_connection ();
 		public unowned string get_dbus_object_path ();
@@ -478,6 +482,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 8036834..987cbd9 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 8ae0d4b..17866c1 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -294,9 +294,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 ffa952b..e2c5ffd 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 6d4133a..bb5efd5 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]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]