From 66982e6c17691869aa17c00416d61674b5b3e34f Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 23 Jan 2013 11:34:20 +0000 Subject: Annotate tp_account_update_parameters_finish properly. kuuko discovered that unset_parameters is wrongly inferred to be a string argument, not a string array argument. At runtime, passing a string crashes. I think this is a bug in gobject-introspection but we can annotate it as an array to fix this particular function. --- telepathy-glib/account.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c index 2a8aa389a..04b25a530 100644 --- a/telepathy-glib/account.c +++ b/telepathy-glib/account.c @@ -2860,7 +2860,7 @@ tp_account_update_parameters_finish (TpAccount *account, * @account: a #TpAccount * @parameters: (transfer none): a variant of type %G_VARIANT_TYPE_VARDICT * containing new parameters to set on @account - * @unset_parameters: list of parameters to unset on @account + * @unset_parameters: (array zero-terminated=1): list of parameters to unset on @account * @callback: a callback to call when the request is satisfied * @user_data: data to pass to @callback * -- cgit v1.2.1