Fix introspection on return value transfer for gtk_clipboard_get*
ownership transfer set to none for clipboard get methods
This commit is contained in:
@ -287,7 +287,7 @@ clipboard_display_closed (GdkDisplay *display,
|
|||||||
* if your application called "Foo" has a special-purpose
|
* if your application called "Foo" has a special-purpose
|
||||||
* clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD".
|
* 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
|
* clipboard already exists, a new one will
|
||||||
* be created. Once a clipboard object has
|
* be created. Once a clipboard object has
|
||||||
* been created, it is persistent and, since
|
* 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.
|
* Returns the clipboard object for the given selection.
|
||||||
* See gtk_clipboard_get_for_display() for complete details.
|
* 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
|
* already exists, a new one will be created. Once a clipboard
|
||||||
* object has been created, it is persistent and, since it is
|
* object has been created, it is persistent and, since it is
|
||||||
* owned by GTK+, must not be freed or unreffed.
|
* owned by GTK+, must not be freed or unreffed.
|
||||||
|
|||||||
Reference in New Issue
Block a user