From 75c21af091a74fc5939db13ca02f800d61c3b368 Mon Sep 17 00:00:00 2001 From: Laszlo Pandy Date: Thu, 17 Feb 2011 18:01:31 +0100 Subject: [PATCH] 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. --- girepository/girparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); \ -- 2.34.1