From: Rico Tzschichholz Date: Sat, 8 Oct 2016 21:32:59 +0000 (+0200) Subject: gio-2.0: Fix constructor which wasn't detected as such X-Git-Tag: 0.35.1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d933e47b45b0df0230e79d7e1c8968666be6f5cc;p=thirdparty%2Fvala.git gio-2.0: Fix constructor which wasn't detected as such --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index c9b71285e..019713afd 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -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")] diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index e6ebf7946..bdb01aec9 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -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"