summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.c
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2010-06-07 23:45:43 +0200
committerSteve Frécinaux <code@istique.net>2010-06-08 00:00:28 +0200
commit046069d918be4c884effd2e74a1f471f8830de9d (patch)
tree56e5488c545b2be4229c09919fefdc86591a48ee /gtk/gtktextbuffer.c
parent1ae257d00a2921f903048777664f1f171ff24c9b (diff)
downloadgtk+-046069d918be4c884effd2e74a1f471f8830de9d.tar.gz
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
Add (transfer none) to the return value of gtk_text_buffer_create_mark(), as the documentation clearly states the caller doesn't have ownership of the returned value.
Diffstat (limited to 'gtk/gtktextbuffer.c')
-rw-r--r--gtk/gtktextbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index dca5686e46..44cb322e0a 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -2083,7 +2083,7 @@ gtk_text_buffer_set_mark (GtkTextBuffer *buffer,
* Emits the "mark-set" signal as notification of the mark's initial
* placement.
*
- * Return value: the new #GtkTextMark object
+ * Return value: (transfer none): the new #GtkTextMark object
**/
GtkTextMark*
gtk_text_buffer_create_mark (GtkTextBuffer *buffer,