Commit fd756492 authored by Luca Bruno's avatar Luca Bruno

gio-2.0: Ultimate fixes

parent a582b75d
......@@ -2150,7 +2150,7 @@ namespace GLib {
public interface ActionGroup : GLib.Object {
public abstract void activate_action (string action_name, GLib.Variant? parameter);
public abstract void change_action_state (string action_name, GLib.Variant value);
public abstract unowned bool? get_action_enabled (string action_name);
public abstract bool get_action_enabled (string action_name);
public abstract unowned GLib.VariantType? get_action_parameter_type (string action_name);
public abstract GLib.Variant? get_action_state (string action_name);
public abstract GLib.Variant? get_action_state_hint (string action_name);
......@@ -2455,8 +2455,9 @@ namespace GLib {
public abstract bool can_poll ();
public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
public abstract bool is_readable ();
[CCode (vfunc_name = "read_nonblocking_fn")]
public abstract ssize_t read_nonblocking ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "gsize", type = "void*")] uint8[] buffer) throws GLib.Error;
public ssize_t read_nonblocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (vfunc_name = "read_nonblocking")]
public abstract ssize_t read_nonblocking_fn ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "gsize", type = "void*")] uint8[] buffer) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableOutputStreamInterface", type_id = "g_pollable_output_stream_get_type ()")]
public interface PollableOutputStream : GLib.OutputStream {
......@@ -183,7 +183,7 @@ Initable
.create_source type="GLib.PollableSource"
.read_nonblocking.buffer type="uint8[]" array_length_idx=1
.read_nonblocking#virtual_method vfunc_name="read_nonblocking_fn"
.read_nonblocking#virtual_method name="read_nonblocking_fn"
.create_source type="GLib.PollableSource"
......@@ -301,6 +301,7 @@ content_type_from_mime_type nullable
content_type_get_mime_type nullable
.get_action* nullable
.get_action_enabled nullable=false
.get_action_state_type unowned
.add_action_entries.entries array array_length_idx=1
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