GNOME Bugzilla – Bug 794777
Several fixes to the introspection
Last modified: 2018-04-11 00:13:52 UTC
Here is a patch solving some introspection issues
Created attachment 370255 [details] [review] Fix several annotations
Created attachment 370260 [details] [review] Several GObject introspection fixes
Created attachment 370268 [details] [review] Several GObject introspection fixes
The last attachments contains some feedbacks from Vala maintainers (my .gir was wrong on the previous patches)
What kind of testing has these bindings seen? What version of introspection do the patches depend on? I ask because we have been hit by introspection bugs before. This fragment looks weird. Why is this changed to "transfer none"? /** - * gsf_input_dup: + * gsf_input_dup: (virtual Dup): * @input: The input to duplicate * @err: (allow-none): place to store a #GError if anything goes wrong * * Duplicates input @src leaving the new one at the same offset. * - * Returns: (transfer full): the duplicate, or %NULL on error + * Returns: (transfer none): the duplicate, or %NULL on error **/ GsfInput * gsf_input_dup (GsfInput *input, GError **err)
Created attachment 370601 [details] [review] GObject Introspection: fix several annotations
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.