[vala/0.44] gio-2.0: Drop metadata for NativeSocketAddress



commit 255d935da5baf9d1cfe8f57b60f40218af345649
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 a84c97f00..ba6e90e45 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1883,7 +1883,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 a0e2e67de..e8a3bd222 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -357,7 +357,6 @@ DataInputStream
 
 // Forward upstream
 *.ref unowned
-NativeSocketAddress skip
 ActionGroup
   .get_action* nullable
   .get_action_enabled nullable=false


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