projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3135d1
)
Introspection: make 'direction' default to 'in' for methods
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 30 Aug 2010 12:50:09 +0000
(08:50 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 30 Aug 2010 12:50:09 +0000
(08:50 -0400)
gio/gdbusintrospection.c
patch
|
blob
|
history
diff --git
a/gio/gdbusintrospection.c
b/gio/gdbusintrospection.c
index
1583d7f
..
e79bf95
100644
(file)
--- a/
gio/gdbusintrospection.c
+++ b/
gio/gdbusintrospection.c
@@
-1508,7
+1508,10
@@
parser_start_element (GMarkupParseContext *context,
G_MARKUP_COLLECT_INVALID))
goto out;
- is_in = FALSE;
+ if (strcmp (stack->next->data, "method") == 0)
+ is_in = TRUE;
+ else
+ is_in = FALSE;
if (direction != NULL)
{
if (strcmp (direction, "in") == 0)