[gobject-introspection] Fix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').



commit 75c21af091a74fc5939db13ca02f800d61c3b368
Author: Laszlo Pandy <lpandy src gnome org>
Date:   Thu Feb 17 18:01:31 2011 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/girepository/girparser.c b/girepository/girparser.c
index 96761ac..be74e0b 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);  \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]