[vala] gio-2.0: Fix constructor which wasn't detected as such
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Fix constructor which wasn't detected as such
- Date: Sat, 8 Oct 2016 21:42:01 +0000 (UTC)
commit d933e47b45b0df0230e79d7e1c8968666be6f5cc
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Oct 8 23:32:59 2016 +0200
gio-2.0: Fix constructor which wasn't detected as such
vapi/gio-2.0.vapi | 5 ++---
vapi/metadata/Gio-2.0.metadata | 2 ++
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index c9b7128..019713a 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 e6ebf79..bdb01ae 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]