[gtk+] [gtktextbuffer] Annotate gtk_text_buffer_create_mark()
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] [gtktextbuffer] Annotate gtk_text_buffer_create_mark()
- Date: Mon, 7 Jun 2010 22:00:52 +0000 (UTC)
commit 046069d918be4c884effd2e74a1f471f8830de9d
Author: Steve Frécinaux <code istique net>
Date: Mon Jun 7 23:45:43 2010 +0200
[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.
gtk/gtktextbuffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index dca5686..44cb322 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]