[vala/0.12] gio-2.0: Make ResolverError be an errordomain



commit fa2b5ac99be714ff0d254e9b04f4a468a1b8bc98
Author: Jim Nelson <jim yorba org>
Date:   Sun Apr 10 10:19:33 2011 +0200

    gio-2.0: Make ResolverError be an errordomain
    
    Fixes bug 646983.

 vapi/gio-2.0.vapi                      |   12 ++++++------
 vapi/packages/gio-2.0/gio-2.0.metadata |    1 +
 2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index a9da0a1..28311e6 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2277,12 +2277,6 @@ namespace GLib {
 		FOR_SESSION,
 		PERMANENTLY
 	}
-	[CCode (cprefix = "G_RESOLVER_ERROR_", cheader_filename = "gio/gio.h")]
-	public enum ResolverError {
-		NOT_FOUND,
-		TEMPORARY_FAILURE,
-		INTERNAL
-	}
 	[CCode (cprefix = "G_SETTINGS_BIND_", cheader_filename = "gio/gio.h")]
 	[Flags]
 	public enum SettingsBindFlags {
@@ -2461,6 +2455,12 @@ namespace GLib {
 		PROXY_NEED_AUTH,
 		PROXY_NOT_ALLOWED,
 	}
+	[CCode (cprefix = "G_RESOLVER_ERROR_", cheader_filename = "gio/gio.h")]
+	public errordomain ResolverError {
+		NOT_FOUND,
+		TEMPORARY_FAILURE,
+		INTERNAL,
+	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
 	[CCode (cheader_filename = "gio/gio.h")]
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index b2b08d0..34f1e23 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -233,6 +233,7 @@ g_periodic_add.callback transfer_ownership="1"
 g_periodic_add.notify hidden="1"
 g_periodic_damaged.callback transfer_ownership="1"
 g_periodic_damaged.notify hidden="1"
+GResolverError errordomain="1"
 g_resolver_free_addresses hidden="1"
 g_resolver_free_targets hidden="1"
 g_resolver_lookup_by_name transfer_ownership="1" type_arguments="InetAddress"



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