summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorbadcel <33569-badcel@users.noreply.gitlab.gnome.org>2023-02-21 22:19:56 +0100
committerbadcel <33569-badcel@users.noreply.gitlab.gnome.org>2023-02-21 22:19:56 +0100
commit993f6d669869426b3e6026501d058532ec45c311 (patch)
tree3d8d2a91c98a4e81c3e67f038b6be3f602590aca /gobject
parentbd2ccc2f69ecfd78ca3f34ab59e42e2b462bad65 (diff)
downloadglib-993f6d669869426b3e6026501d058532ec45c311.tar.gz
g_type_name: Fix return annotation
The function can return null so it should be annotated as nullable.
Diffstat (limited to 'gobject')
-rw-r--r--gobject/gtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gtype.c b/gobject/gtype.c
index f49594135..dfb01eed1 100644
--- a/gobject/gtype.c
+++ b/gobject/gtype.c
@@ -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)