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 96761ace5458e6d8250631948b4c74102af154d3..be74e0bbd73666f24f887f602e31b0cadc7c03d2 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);  \