Fix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').
authorLaszlo Pandy <lpandy@src.gnome.org>
Thu, 17 Feb 2011 17:01:31 +0000 (18:01 +0100)
committerLaszlo Pandy <lpandy@src.gnome.org>
Thu, 17 Feb 2011 17:01:31 +0000 (18:01 +0100)
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

index 96761ac..be74e0b 100644 (file)
@@ -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);  \