mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 19:17:34 +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
1bd94d731b
commit
88dbf5cabf
@ -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