GNOME Bugzilla – Bug 785034
secret_value_unref shouldn't be annotated (allow-none)
Last modified: 2017-07-18 14:03:02 UTC
secret_value_unref's value argument is annotated as (allow-none). However, the function itself has an assertion against NULL values. Since most _unref methods in GLib don't accept NULL parameters (eg., g_object_unref, g_hash_table_unref), we should probably drop the (allow-node) for consistency.
Created attachment 355773 [details] [review] secret-value: Don't annotate secret_value_unref as (allow-none)
Looks good. accepted-commit-now
Comment on attachment 355773 [details] [review] secret-value: Don't annotate secret_value_unref as (allow-none) Thanks for the review. Pushed to master.