[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 1ae257d00a
commit 046069d918

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 * Emits the "mark-set" signal as notification of the mark's initial
* placement. * placement.
* *
* Return value: the new #GtkTextMark object * Return value: (transfer none): the new #GtkTextMark object
**/ **/
GtkTextMark* GtkTextMark*
gtk_text_buffer_create_mark (GtkTextBuffer *buffer, gtk_text_buffer_create_mark (GtkTextBuffer *buffer,