mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Introspection: make 'direction' default to 'in' for methods
This commit is contained in:
@@ -1508,6 +1508,9 @@ parser_start_element (GMarkupParseContext *context,
|
||||
G_MARKUP_COLLECT_INVALID))
|
||||
goto out;
|
||||
|
||||
if (strcmp (stack->next->data, "method") == 0)
|
||||
is_in = TRUE;
|
||||
else
|
||||
is_in = FALSE;
|
||||
if (direction != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user