Introspection: make 'direction' default to 'in' for methods

This commit is contained in:
Matthias Clasen 2010-08-30 08:50:09 -04:00
parent c3135d1d39
commit b4a61235da

View File

@ -1508,6 +1508,9 @@ parser_start_element (GMarkupParseContext *context,
G_MARKUP_COLLECT_INVALID)) G_MARKUP_COLLECT_INVALID))
goto out; goto out;
if (strcmp (stack->next->data, "method") == 0)
is_in = TRUE;
else
is_in = FALSE; is_in = FALSE;
if (direction != NULL) if (direction != NULL)
{ {