Commit 06921974 authored by Evan Nemerson's avatar Evan Nemerson

bindings: update GIR-based bindings

parent 79925e11
......@@ -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
......
......@@ -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 {
......
......@@ -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;
......
......@@ -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);
......
......@@ -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 ();
......
......@@ -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 ();
......
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment