diff options
author | Philip Withnall <withnall@endlessm.com> | 2018-08-09 14:00:50 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2018-08-10 11:39:57 +0100 |
commit | a48a6bc401cd9bd3a27dfe91ec598ac1479ab08d (patch) | |
tree | d8c2d3dd5ef6213584c6ad1ed177522c89cc3454 /bin | |
parent | 019299fefe2948845f9e038c9c411248ab47d232 (diff) | |
download | dconf-a48a6bc401cd9bd3a27dfe91ec598ac1479ab08d.tar.gz |
bin: Stop copying a delegate
This fixes a build warning:
../bin/dconf.vala:310.15-310.18: warning: copying delegates is not supported
../bin/dconf.vala:305.2-305.13: warning: copying delegates is not supported
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/dconf.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dconf.vala b/bin/dconf.vala index 9704d4a..349e1ea 100644 --- a/bin/dconf.vala +++ b/bin/dconf.vala @@ -302,7 +302,7 @@ void dconf_complete (string[] args) throws Error { delegate void Command (string[] args) throws Error; struct CommandMapping { - Command func; + unowned Command func; string name; public CommandMapping (string name, Command func) { |