mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 12:12:10 +01:00
codegen: direction defaults to "in"
This commit is contained in:
parent
e9c19583de
commit
0c87f71521
@ -197,7 +197,7 @@ class DBusXMLParser:
|
||||
if 'name' in attrs:
|
||||
arg_name = attrs['name']
|
||||
arg = dbustypes.Arg(arg_name, attrs['type'])
|
||||
direction = attrs['direction']
|
||||
direction = attrs.get('direction', 'in')
|
||||
if direction == 'in':
|
||||
self._cur_object.in_args.append(arg)
|
||||
elif direction == 'out':
|
||||
|
Loading…
x
Reference in New Issue
Block a user