summaryrefslogtreecommitdiff
path: root/girepository/giroffsets.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2012-07-24 16:09:38 +0800
committerColin Walters <walters@verbum.org>2012-10-27 12:06:09 -0400
commitaf578e81c861cf31f494fc830ba02ca41d7c7613 (patch)
tree1c45330f3a7fca45da2e3d654c9c10b03eecb54d /girepository/giroffsets.c
parentf2e54769ca9f72401d438b66fd6144986ee288f3 (diff)
downloadgobject-introspection-af578e81c861cf31f494fc830ba02ca41d7c7613.tar.gz
girepository: Remove C99ism and other updates
-Make code using libgirepository_internals relocatable on Windows, like what is done in the GTK+ stack, and the girepository DLL. -Remove C99isms -"interface" is a reserved keyword on certain compilers, so change that to "giinterface" https://bugzilla.gnome.org/show_bug.cgi?id=681820
Diffstat (limited to 'girepository/giroffsets.c')
-rw-r--r--girepository/giroffsets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/girepository/giroffsets.c b/girepository/giroffsets.c
index e3c9d7f5..368332ea 100644
--- a/girepository/giroffsets.c
+++ b/girepository/giroffsets.c
@@ -190,10 +190,10 @@ get_interface_size_alignment (GIrTypelibBuild *build,
{
GIrNode *iface;
- iface = _g_ir_find_node (build, ((GIrNode*)type)->module, type->interface);
+ iface = _g_ir_find_node (build, ((GIrNode*)type)->module, type->giinterface);
if (!iface)
{
- _g_ir_module_fatal (build, 0, "Can't resolve type '%s' for %s", type->interface, who);
+ _g_ir_module_fatal (build, 0, "Can't resolve type '%s' for %s", type->giinterface, who);
*size = -1;
*alignment = -1;
return FALSE;