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,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)