summaryrefslogtreecommitdiff
path: root/girepository/girnode.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-05-19 16:12:03 -0400
committerDan Winship <danw@gnome.org>2011-08-12 11:10:43 -0400
commit4dabe20ed5753bccd2abf8ad02e95ce6ab53036c (patch)
tree493ae7ef585a60e35c9c7b37bbb31b9f98a42e48 /girepository/girnode.h
parenta588cee7d719e0b1764d2b7687cd90424faec9d0 (diff)
downloadgobject-introspection-4dabe20ed5753bccd2abf8ad02e95ce6ab53036c.tar.gz
Deprecate ErrorDomain
The previous ErrorDomain blob was never actually scanned or used, and it was kind of a lame API conceptually. To keep some compatibility, rather than removing the enumeration values, rename them to _INVALID, and don't bump the typelib version. This should in theory allow a new libgirepository to read an old typelib. Based on a patch from Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=602516
Diffstat (limited to 'girepository/girnode.h')
-rw-r--r--girepository/girnode.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/girepository/girnode.h b/girepository/girnode.h
index 1f9102fd..fb2616b1 100644
--- a/girepository/girnode.h
+++ b/girepository/girnode.h
@@ -41,7 +41,6 @@ typedef struct _GIrNodeEnum GIrNodeEnum;
typedef struct _GIrNodeBoxed GIrNodeBoxed;
typedef struct _GIrNodeStruct GIrNodeStruct;
typedef struct _GIrNodeConstant GIrNodeConstant;
-typedef struct _GIrNodeErrorDomain GIrNodeErrorDomain;
typedef struct _GIrNodeXRef GIrNodeXRef;
typedef struct _GIrNodeUnion GIrNodeUnion;
@@ -57,7 +56,7 @@ typedef enum
G_IR_NODE_OBJECT = 7,
G_IR_NODE_INTERFACE = 8,
G_IR_NODE_CONSTANT = 9,
- G_IR_NODE_ERROR_DOMAIN = 10,
+ G_IR_NODE_INVALID_0 = 10, /* DELETED - used to be ERROR_DOMAIN */
G_IR_NODE_UNION = 11,
G_IR_NODE_PARAM = 12,
G_IR_NODE_TYPE = 13,
@@ -343,18 +342,6 @@ struct _GIrNodeUnion
};
-struct _GIrNodeErrorDomain
-{
- GIrNode node;
-
- gboolean deprecated;
-
- gchar *name;
- gchar *getquark;
- gchar *codes;
-};
-
-
GIrNode * _g_ir_node_new (GIrNodeTypeId type,
GIrModule *module);
void _g_ir_node_free (GIrNode *node);