kuuko on #telepathy discovered that tp_account_update_parameters_vardict_async, when called from python, expects a string (not an array of strings) as its const gchar **unset_parameters argument. Unsurprisingly it then crashes.
11:38 xclaesse | telepathy-glib$ grep "name=\"utf8\" c:type=\"const gchar\*\*\"" TelepathyGLib-0.12.gir | wc -l
11:38 xclaesse | 14
we should fix 'em all. this untested patch fixes one.
Patch looks good, grep for further examples also welcome. Also fine for the stable branch(es) since it fixes something that could never have worked before.
Has anyone reported a gobject-introspection bug about this? In principle, I don't think we should have to do this (although it certainly doesn't hurt to do so).
tp_account_update_parameters_vardict_async is probably a relatively easy one to smoke-test with a quick Python script to check that this change is actually necessary and sufficient. README explains how you can use the GIR from an uninstalled telepathy-glib (GI_TYPELIB_PATH=`pwd`/telepathy-glib and export it).
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/108.