[gnio] Clean up G_IO_ERROR extensions
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnio] Clean up G_IO_ERROR extensions
- Date: Thu, 7 May 2009 15:07:07 -0400 (EDT)
commit 86ec7a451241425b874aa9592dfceb8d1294220c
Author: Alexander Larsson <alexl redhat com>
Date: Thu May 7 21:03:55 2009 +0200
Clean up G_IO_ERROR extensions
Move G_IO_ERROR_NOT_INITIALIZED from ginitable.h to gnioerror.
Remove unused errors from gnioerror.
Set the base for the extra errors to 1000 to avoid conflicts
with gio extensions.
---
gio/ginitable.h | 2 --
gio/gnioerror.h | 5 ++---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/gio/ginitable.h b/gio/ginitable.h
index a9ac2b5..5cccfd4 100644
--- a/gio/ginitable.h
+++ b/gio/ginitable.h
@@ -67,8 +67,6 @@ struct _GInitableIface
GError **error);
};
-/* TODO: Move to gioenums.h */
-#define G_IO_ERROR_NOT_INITIALIZED 1000
GType g_initable_get_type (void) G_GNUC_CONST;
diff --git a/gio/gnioerror.h b/gio/gnioerror.h
index de71c4e..8b7dab4 100644
--- a/gio/gnioerror.h
+++ b/gio/gnioerror.h
@@ -33,9 +33,8 @@ G_BEGIN_DECLS
* Just use defines for now.
*/
-#define G_IO_ERROR_RESOLVER_NOT_FOUND 31
-#define G_IO_ERROR_RESOLVER_NO_DATA 32
-#define G_IO_ERROR_ADDRESS_IN_USE 33
+#define G_IO_ERROR_NOT_INITIALIZED 1000
+#define G_IO_ERROR_ADDRESS_IN_USE 1001
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]