diff --git a/girs/GES-1.0.gir b/girs/GES-1.0.gir
index 1aef02d442..809b86c2d3 100644
--- a/girs/GES-1.0.gir
+++ b/girs/GES-1.0.gir
@@ -3212,7 +3212,7 @@ if no track elements are created or an error occurred.
The #GstDiscovererInfo representing the discovered URI
-
+
The #GError that occurred, or %NULL
diff --git a/subprojects/gst-editing-services/ges/ges-discoverer-manager.c b/subprojects/gst-editing-services/ges/ges-discoverer-manager.c
index fd2dcd18fd..08e0df54a5 100644
--- a/subprojects/gst-editing-services/ges/ges-discoverer-manager.c
+++ b/subprojects/gst-editing-services/ges/ges-discoverer-manager.c
@@ -158,7 +158,7 @@ ges_discoverer_manager_class_init (GESDiscovererManagerClass * klass)
* GESDiscovererManager::discovered: (attributes doc.skip=true)
* @manager: the #GESDiscovererManager
* @info: The #GstDiscovererInfo representing the discovered URI
- * @error: The #GError that occurred, or %NULL
+ * @error: (nullable): The #GError that occurred, or %NULL
*
* Since: 1.24
*/