[gnome-builder] source-location: fix G-I docs



commit c91805279d144c78468a0200a38a336f1def2fe6
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 24 17:35:03 2018 -0700

    source-location: fix G-I docs

 src/libide/diagnostics/ide-source-location.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/diagnostics/ide-source-location.c b/src/libide/diagnostics/ide-source-location.c
index e31dc5ea7..e13006023 100644
--- a/src/libide/diagnostics/ide-source-location.c
+++ b/src/libide/diagnostics/ide-source-location.c
@@ -173,11 +173,13 @@ ide_source_location_new (IdeFile *file,
 
 /**
  * ide_source_location_new_from_variant:
- * @self: a #IdeSourceLocation
+ * @variant: (nullable): a #GVariant or %NULL
  *
  * Creates a new #IdeSourceLocation using the serialized form from a
  * previously serialized #GVariant.
  *
+ * As a convenience, if @variant is %NULL, %NULL is returned.
+ *
  * See also: ide_source_location_to_variant()
  *
  * Returns: (transfer full) (nullable): a #GVariant if succesful;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]