Add context to autocomplete_with_func and use it for omemo trust command

Fix #1068
This commit is contained in:
Paul Fariello
2020-01-30 23:44:43 +01:00
parent 8fba8a8958
commit a52e3ea1d8
26 changed files with 164 additions and 134 deletions

View File

@@ -753,7 +753,7 @@ p_gpg_free_decrypted(char *decrypted)
}
char*
p_gpg_autocomplete_key(const char *const search_str, gboolean previous)
p_gpg_autocomplete_key(const char *const search_str, gboolean previous, void *context)
{
return autocomplete_complete(key_ac, search_str, TRUE, previous);
}