mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Introspection: make 'direction' default to 'in' for methods
This commit is contained in:
parent
c3135d1d39
commit
b4a61235da
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user