mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
[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
|
||||
* placement.
|
||||
*
|
||||
* Return value: the new #GtkTextMark object
|
||||
* Return value: (transfer none): the new #GtkTextMark object
|
||||
**/
|
||||
GtkTextMark*
|
||||
gtk_text_buffer_create_mark (GtkTextBuffer *buffer,
|
||||
|
Loading…
Reference in New Issue
Block a user