summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-06-22 18:17:06 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-06-22 18:18:33 +0200
commit91a9e41fed6269637da52d5f88699782a940b198 (patch)
tree65b378e1bd6457b67c667e6b6091ed2a9aa7168e
parentb3ff665d46560b8e6e89511f30f4abb39cd485b2 (diff)
downloadlibchamplain-91a9e41fed6269637da52d5f88699782a940b198.tar.gz
g-i: Annotate champlain_layer_set_view to allow NULL as view
-rw-r--r--champlain/champlain-layer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/champlain/champlain-layer.c b/champlain/champlain-layer.c
index 2c973de..ec27901 100644
--- a/champlain/champlain-layer.c
+++ b/champlain/champlain-layer.c
@@ -58,11 +58,11 @@ champlain_layer_class_init (ChamplainLayerClass *klass)
/**
* champlain_layer_set_view:
* @layer: a #ChamplainLayer
- * @view: a #ChamplainView
+ * @view: (nullable): a #ChamplainView
*
* #ChamplainView calls this method to pass a reference to itself to the layer
* when the layer is added to the view. When the layer is removed from the
- * view, it passes NULL to the layer. Custom layers can implement this method
+ * view, it passes %NULL to the layer. Custom layers can implement this method
* and perform the necessary initialization. This method should not be called
* by user code.
*