projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5baf35d
)
Fix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').
author
Laszlo Pandy
<lpandy@src.gnome.org>
Thu, 17 Feb 2011 17:01:31 +0000
(18:01 +0100)
committer
Laszlo 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
patch
|
blob
|
history
diff --git
a/girepository/girparser.c
b/girepository/girparser.c
index 96761ace5458e6d8250631948b4c74102af154d3..be74e0bbd73666f24f887f602e31b0cadc7c03d2 100644
(file)
--- a/
girepository/girparser.c
+++ b/
girepository/girparser.c
@@
-293,7
+293,7
@@
locate_gir (GIrParser *parser,
return NULL;
}
-#define MISSING_ATTRIBUTE(c
tx,error,element,attribute)
\
+#define MISSING_ATTRIBUTE(c
ontext,error,element,attribute)
\
do { \
int line_number, char_number; \
g_markup_parse_context_get_position (context, &line_number, &char_number); \