forked from AuroraMiddleware/gtk
[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:
parent
1ae257d00a
commit
046069d918
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user