[vala/0.40] gio-2.0: Drop metadata for NativeSocketAddress
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] gio-2.0: Drop metadata for NativeSocketAddress
- Date: Wed, 9 Oct 2019 17:32:55 +0000 (UTC)
commit f6f304a0f4191d23d782e80bba8f6da21d316569
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Sep 1 14:55:07 2019 +0200
gio-2.0: Drop metadata for NativeSocketAddress
vapi/gio-2.0.vapi | 4 +++-
vapi/metadata/Gio-2.0-custom.vala | 5 -----
vapi/metadata/Gio-2.0.metadata | 1 -
3 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index b7c879405..61bbc1a1b 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1848,7 +1848,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 c27ab1a5f..abe3debf0 100644
--- a/vapi/metadata/Gio-2.0-custom.vala
+++ b/vapi/metadata/Gio-2.0-custom.vala
@@ -82,11 +82,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 90e13d290..c2ae950f2 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -385,7 +385,6 @@ DataInputStream
// Forward upstream
*.ref unowned
-NativeSocketAddress skip
content_type_from_mime_type nullable
content_type_get_mime_type nullable
ActionGroup
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]