From 48cc791fb26506f91cfd6c2c074507a921decfca Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 10 Mar 2010 22:21:52 +0800 Subject: [PATCH] Fix introspection on return value transfer for gtk_clipboard_get* ownership transfer set to none for clipboard get methods --- gtk/gtkclipboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c index a8972127aa..ddfc709d54 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.