glib/docs/reference
Philip Withnall 7acef299c2 girepository: Fix declaration of ‘find using interfaces’ methods
Fix the declaration and documentation of
`gi_object_info_find_method_using_interfaces()` and
`gi_object_info_find_vfunc_using_interfaces()`. The documentation was
wrong when I wrote it: the value returned is the object or interface
which declares the method or vfunc, not the one which implements it.

The returned declarer info may be a `GIObjectInfo` or a
`GIInterfaceInfo`. Since those two types have no subtype relation
between them, the return type has to be changed to `GIBaseInfo`. Using
`GIObjectInfo` would have been fine in girepository-1.0 because all
`*Info` types were aliases of each other — but since the move to
`GTypeInstance` this is no longer true.

A unit test will be in the following commit.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Fixes: #3246
2024-02-05 18:40:03 +00:00
..
gio docs: Allow building man pages without the reference documentation 2024-01-11 15:41:34 +00:00
girepository girepository: Fix declaration of ‘find using interfaces’ methods 2024-02-05 18:40:03 +00:00
glib Link to the main context tutorial from the main loop docs 2024-01-31 11:56:56 -06:00
gmodule docs: Allow building man pages without the reference documentation 2024-01-11 15:41:34 +00:00
gobject docs: Allow building man pages without the reference documentation 2024-01-11 15:41:34 +00:00
AUTHORS Initial revision 1999-08-16 17:58:30 +00:00
COPYING Initial revision 1999-08-16 17:58:30 +00:00
meson.build docs: Fix include path for the build 2024-02-02 12:54:07 +02:00
NEWS Initial revision 1999-08-16 17:58:30 +00:00