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