diff options
author | hrxi <hrrrxi@gmail.com> | 2019-07-22 10:41:26 +0200 |
---|---|---|
committer | hrxi <hrrrxi@gmail.com> | 2019-08-05 17:17:17 +0200 |
commit | 1be1d471222b6d3763df1ad9b9d3b631ac8185f1 (patch) | |
tree | 95afe6c43f614542a0913dfa0cb64997bdfcabf6 /xmpp-vala/src/module/xep/0166_jingle.vala | |
parent | 95596e25a5cdacc7634dd2b9ca0e98599ae7d1b1 (diff) | |
download | dino-1be1d471222b6d3763df1ad9b9d3b631ac8185f1.tar.gz dino-1be1d471222b6d3763df1ad9b9d3b631ac8185f1.zip |
Fix a couple of delegate copy warnigs
"warning: copying delegates is not supported"
Diffstat (limited to 'xmpp-vala/src/module/xep/0166_jingle.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0166_jingle.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0166_jingle.vala b/xmpp-vala/src/module/xep/0166_jingle.vala index ee7df994..4d9a472a 100644 --- a/xmpp-vala/src/module/xep/0166_jingle.vala +++ b/xmpp-vala/src/module/xep/0166_jingle.vala @@ -567,7 +567,7 @@ public class Connection : IOStream { } SourceFunc callback = wait_and_check_for_errors.callback; ulong id = cancellable.connect(() => callback()); - callbacks.add(new OnSetInnerCallback() { callback=callback, io_priority=io_priority}); + callbacks.add(new OnSetInnerCallback() { callback=(owned)callback, io_priority=io_priority}); yield; cancellable.disconnect(id); } |