]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix constructor which wasn't detected as such
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 21:32:59 +0000 (23:32 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 21:32:59 +0000 (23:32 +0200)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index c9b71285ec2b770625bb323c49505b95116c0e57..019713afdd31869272c11aacbc936a30d6fce8ea 100644 (file)
@@ -2357,10 +2357,9 @@ namespace GLib {
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_proxy_resolver_get_type ()")]
        public class SimpleProxyResolver : GLib.Object, GLib.ProxyResolver {
-               [CCode (has_construct_function = false)]
-               protected SimpleProxyResolver ();
+               [CCode (has_construct_function = false, type = "GProxyResolver*")]
                [Version (since = "2.36")]
-               public static GLib.ProxyResolver @new (string? default_proxy, string? ignore_hosts);
+               public SimpleProxyResolver (string? default_proxy, string? ignore_hosts);
                [Version (since = "2.36")]
                public void set_default_proxy (string default_proxy);
                [Version (since = "2.36")]
index e6ebf79466aebab6a8fa31a1c83b83c3fc86b7cf..bdb01aec91b8c8c6ff8d9c8ffe079375f8d30e70 100644 (file)
@@ -207,6 +207,8 @@ SimpleAsyncResult
   .new skip
   .new_error skip
   .new_from_error skip
+SimpleProxyResolver
+  .new symbol_type="constructor"
 Socket
   .condition_wait throws="GLib.IOError"
   .create_source skip=false type="GLib.SocketSource"