[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.
This commit is contained in:
Steve Frécinaux 2010-06-07 23:45:43 +02:00
parent 1bd94d731b
commit 88dbf5cabf

View File

@ -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,