]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Drop metadata for NativeSocketAddress
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 1 Sep 2019 12:55:07 +0000 (14:55 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 1 Sep 2019 14:39:11 +0000 (16:39 +0200)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0-custom.vala
vapi/metadata/Gio-2.0.metadata

index 2091d501c23253c86a8f45812f8cfae5e4e8978e..e195259fe5788098b748c57cfd8d1bf0f7154dc1 100644 (file)
@@ -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 ()")]
index b3cb7b95ddd1111562378f39a6efc0bb6b7949be..7f4fd650cfa5e5fff4d90530cfdfad15791f5353 100644 (file)
@@ -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);
index 50bcc2b4bcc656e95a31c7dc0e7353e1ba75318d..4b8dfaf5dfa5fa1f18b06fa0c7117dfa3a6a481b 100644 (file)
@@ -361,7 +361,6 @@ DataInputStream
 
 // Forward upstream
 *.ref unowned
-NativeSocketAddress skip
 ActionGroup
   .get_action* nullable
   .get_action_enabled nullable=false