From: Rico Tzschichholz Date: Sun, 1 Sep 2019 12:55:07 +0000 (+0200) Subject: gio-2.0: Drop metadata for NativeSocketAddress X-Git-Tag: 0.46.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d5b0b41e6c7bc74672c8f49fa792070f0a63d4c;p=thirdparty%2Fvala.git gio-2.0: Drop metadata for NativeSocketAddress --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 2091d501c..e195259fe 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -1890,7 +1890,9 @@ namespace GLib { public virtual signal void show_unmount_progress (string message, int64 time_left, int64 bytes_left); } [CCode (cheader_filename = "gio/gio.h", type_id = "g_native_socket_address_get_type ()")] - public class NativeSocketAddress : GLib.SocketAddress { + public class NativeSocketAddress : GLib.SocketAddress, GLib.SocketConnectable { + [CCode (has_construct_function = false, type = "GSocketAddress*")] + [Version (since = "2.46")] public NativeSocketAddress (void* native, size_t len); } [CCode (cheader_filename = "gio/gio.h", type_id = "g_native_volume_monitor_get_type ()")] diff --git a/vapi/metadata/Gio-2.0-custom.vala b/vapi/metadata/Gio-2.0-custom.vala index b3cb7b95d..7f4fd650c 100644 --- a/vapi/metadata/Gio-2.0-custom.vala +++ b/vapi/metadata/Gio-2.0-custom.vala @@ -86,11 +86,6 @@ namespace GLib { public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[]? data, GLib.ReallocFunc? realloc_function = GLib.g_realloc, GLib.DestroyNotify? destroy_function = GLib.g_free); } - [CCode (cheader_filename = "gio/gio.h", type_id = "g_native_socket_address_get_type ()")] - public class NativeSocketAddress : GLib.SocketAddress { - public NativeSocketAddress (void* native, size_t len); - } - public abstract class NativeVolumeMonitor : GLib.VolumeMonitor { [NoWrapper] public abstract GLib.Mount get_mount_for_mount_path (string mount_path, GLib.Cancellable? cancellable = null); diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index 50bcc2b4b..4b8dfaf5d 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -361,7 +361,6 @@ DataInputStream // Forward upstream *.ref unowned -NativeSocketAddress skip ActionGroup .get_action* nullable .get_action_enabled nullable=false