Fix error parameter annotations

Review Request #2019 — Created Nov. 4, 2022 and submitted

Information

pidgin/pidgin
default

Reviewers

The (optional) annotation causes a warning because the parameter is not marked as (out). Additionally, the annotations have no effect on the generated documentation.

When a function takes GError **error, then the GObject introspection data includes throws="1".
When gi-docgen sees that annotation, it inserts a standard text about it, so what we write there doesn't matter too much. It will only be seen by people reading the header file directly, so I have inserted a consistent text in those places.

Compiled and saw fewer warnings from gobject-introspection.

Summary ID
Fix error parameter annotations
18bf493265a777a754f6230c33e8a14d3fe1165f
grim
  1. Ship It!
  2. Great work!! Thanks!!

  3. 
      
grim
Review request changed
Status:
Completed