summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Techet <techet@gmail.com>2020-08-18 10:06:57 +0000
committerJiří Techet <techet@gmail.com>2020-08-18 10:06:57 +0000
commitaabaf74a66fc822913985cb30c955b9884d14594 (patch)
tree07258fe5778b26f89665d3368f0138311e05a909
parentffeec76a3bcdccf722cadb47dd4f48076e7e4d15 (diff)
parent91a9e41fed6269637da52d5f88699782a940b198 (diff)
downloadlibchamplain-aabaf74a66fc822913985cb30c955b9884d14594.tar.gz
Merge branch 'wip/ricotz/g-i' into 'master'
g-i: Annotate champlain_layer_set_view to allow NULL as view See merge request GNOME/libchamplain!11
-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.
*