[gtk+] Fix introspection on return value transfer for gtk_clipboard_get*
- From: Alan Knowles <alank src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix introspection on return value transfer for gtk_clipboard_get*
- Date: Wed, 10 Mar 2010 14:22:57 +0000 (UTC)
commit 8b6e1b4de273560879f5e3a31d203c65ab1cb307
Author: Alan Knowles <alan alanfast akbkhome com>
Date: Wed Mar 10 22:21:52 2010 +0800
Fix introspection on return value transfer for gtk_clipboard_get*
ownership transfer set to none for clipboard get methods
gtk/gtkclipboard.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index a897212..ddfc709 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -287,7 +287,7 @@ clipboard_display_closed (GdkDisplay *display,
* if your application called "Foo" has a special-purpose
* clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD".
*
- * Return value: the appropriate clipboard object. If no
+ * Return value: (transfer none): the appropriate clipboard object. If no
* clipboard already exists, a new one will
* be created. Once a clipboard object has
* been created, it is persistent and, since
@@ -315,7 +315,7 @@ gtk_clipboard_get_for_display (GdkDisplay *display,
* Returns the clipboard object for the given selection.
* See gtk_clipboard_get_for_display() for complete details.
*
- * Return value: the appropriate clipboard object. If no clipboard
+ * Return value: (transfer none): the appropriate clipboard object. If no clipboard
* already exists, a new one will be created. Once a clipboard
* object has been created, it is persistent and, since it is
* owned by GTK+, must not be freed or unreffed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]