From f478da144f539944d9b26a432ead6bc441c3ade1 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. --- girparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/girparser.c b/girparser.c index 96761ace5..be74e0bbd 100644 --- a/girparser.c +++ b/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); \