Merge branch 'g-type-name-can-return-null' into 'main'

g_type_name: Fix return annotation

See merge request GNOME/glib!3290
This commit is contained in:
Philip Withnall 2023-02-21 22:44:51 +00:00
commit 288521ea02

View File

@ -3425,7 +3425,7 @@ g_type_default_interface_unref (gpointer g_iface)
* other validly registered type ID, but randomized type IDs should
* not be passed in and will most likely lead to a crash.
*
* Returns: static type name or %NULL
* Returns: (nullable): static type name or %NULL
*/
const gchar *
g_type_name (GType type)