summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Pandy <lpandy@src.gnome.org>2011-02-17 18:01:31 +0100
committerLaszlo Pandy <lpandy@src.gnome.org>2011-02-17 18:01:31 +0100
commit75c21af091a74fc5939db13ca02f800d61c3b368 (patch)
tree9855339acd793414f8a5b0fa13d8dbc34e963508
parent5baf35da22c03c39a0d666e385f3567c183ef7c5 (diff)
downloadgobject-introspection-75c21af091a74fc5939db13ca02f800d61c3b368.tar.gz
Fix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').
The argument was called 'ctx' but the macro was using 'context'. This wasn't causing the build to fail because the variable 'context' was already defined in all the scopes where this macro was used.
-rw-r--r--girepository/girparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c
index 96761ace..be74e0bb 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -293,7 +293,7 @@ locate_gir (GIrParser *parser,
return NULL;
}
-#define MISSING_ATTRIBUTE(ctx,error,element,attribute) \
+#define MISSING_ATTRIBUTE(context,error,element,attribute) \
do { \
int line_number, char_number; \
g_markup_parse_context_get_position (context, &line_number, &char_number); \