Merge branch 'logind' into 'master'

logind_listener: fix TypeError

See merge request gajim/gajim!193
This commit is contained in:
Philipp Hörist 2018-01-19 00:33:06 +01:00
commit 12e534d02f
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def get_inhibitor(connection):
GLib.VariantType.new('(h)'),
Gio.DBusCallFlags.NONE, -1, None, None)
fd = ret.out_fd_list.get(ret[0])
fd = ret.out_fd_list.get(0)
def appeared(connection, name, name_owner, *user_data):