diff options
author | Laszlo Pandy <lpandy@src.gnome.org> | 2011-02-17 18:01:31 +0100 |
---|---|---|
committer | Laszlo Pandy <lpandy@src.gnome.org> | 2011-02-17 18:01:31 +0100 |
commit | 75c21af091a74fc5939db13ca02f800d61c3b368 (patch) | |
tree | 9855339acd793414f8a5b0fa13d8dbc34e963508 /girepository/girparser.c | |
parent | 5baf35da22c03c39a0d666e385f3567c183ef7c5 (diff) | |
download | gobject-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.
Diffstat (limited to 'girepository/girparser.c')
-rw-r--r-- | girepository/girparser.c | 2 |
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); \ |