[vte] Use (transfer full)
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Use (transfer full)
- Date: Thu, 15 Apr 2010 16:55:54 +0000 (UTC)
commit 8c0e7c9aa277e8f51d7dbb010044fea072a26c0b
Author: Christian Persch <chpe gnome org>
Date: Thu Apr 15 18:55:02 2010 +0200
Use (transfer full)
src/pty.c | 6 +++---
src/vte.c | 18 +++++++++---------
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/pty.c b/src/pty.c
index ba5e790..e9ffaa7 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -1747,7 +1747,7 @@ vte_pty_error_quark(void)
* and opening a PTY using the PTY helper fails, there will
* be no fallback to allocate a PTY using Unix98 PTY functions.
*
- * Returns: (transfer): a new #VtePty, or %NULL on error with @error filled in
+ * Returns: (transfer full): a new #VtePty, or %NULL on error with @error filled in
*
* Since: 0.26
*/
@@ -1764,7 +1764,7 @@ vte_pty_new (VtePtyFlags flags,
/**
* vte_pty_new_foreign:
- * @fd: (transfer): a file descriptor to the PTY
+ * @fd: (transfer full): a file descriptor to the PTY
* @error: (allow-none): return location for a #GError, or %NULL
*
* Creates a new #VtePty for the PTY master @fd.
@@ -1774,7 +1774,7 @@ vte_pty_new (VtePtyFlags flags,
* Note that the newly created #VtePty will take ownership of @fd
* and close it on finalize.
*
- * Returns: (transfer): a new #VtePty for @fd, or %NULL on error with @error filled in
+ * Returns: (transfer full): a new #VtePty for @fd, or %NULL on error with @error filled in
*
* Since: 0.26
*/
diff --git a/src/vte.c b/src/vte.c
index 0579992..6157c55 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -1946,7 +1946,7 @@ rowcol_inside_match (VteTerminal *terminal, glong row, glong col)
* vte_terminal_match_add(), then expressions are checked in the order in
* which they were added.
*
- * Returns: (transfer): a newly allocated string which matches one of the previously
+ * Returns: (transfer full): a newly allocated string which matches one of the previously
* set regular expressions
*/
char *
@@ -2423,7 +2423,7 @@ _vte_terminal_set_pointer_visible(VteTerminal *terminal, gboolean visible)
*
* Creates a new terminal widget.
*
- * Returns: (transfer) (type Vte.Terminal): a new #VteTerminal object
+ * Returns: (transfer full) (type Vte.Terminal): a new #VteTerminal object
*/
GtkWidget *
vte_terminal_new(void)
@@ -3323,7 +3323,7 @@ _vte_terminal_disconnect_pty_write(VteTerminal *terminal)
*
* See vte_pty_new() for more information.
*
- * Returns: (transfer): a new #VtePty
+ * Returns: (transfer full): a new #VtePty
* Since: 0.26
*/
VtePty *
@@ -5930,7 +5930,7 @@ vte_terminal_copy_cb(GtkClipboard *clipboard, GtkSelectionData *data,
* @end_col: last column to search for data
* @is_selected: a #VteSelectionFunc callback
* @user_data: (closure): user data to be passed to the callback
- * @attributes: (out) (transfer) (array) (element-type Vte.CharAttributes): location for storing text attributes
+ * @attributes: (out) (transfer full) (array) (element-type Vte.CharAttributes): location for storing text attributes
*
* Extracts a view of the visible part of the terminal. If @is_selected is not
* %NULL, characters will only be read if @is_selected returns %TRUE after being
@@ -5940,7 +5940,7 @@ vte_terminal_copy_cb(GtkClipboard *clipboard, GtkSelectionData *data,
* entire scrollback buffer is scanned, so it is possible to read the entire
* contents of the buffer using this function.
*
- * Returns: (transfer): a newly allocated text string, or %NULL.
+ * Returns: (transfer full): a newly allocated text string, or %NULL.
*/
char *
vte_terminal_get_text_range(VteTerminal *terminal,
@@ -6128,7 +6128,7 @@ vte_terminal_get_text_maybe_wrapped(VteTerminal *terminal,
* @terminal: a #VteTerminal
* @is_selected: a #VteSelectionFunc callback
* @user_data: (closure): user data to be passed to the callback
- * @attributes: (out) (transfer) (array) (element-type Vte.CharAttributes): location for storing text attributes
+ * @attributes: (out) (transfer full) (array) (element-type Vte.CharAttributes): location for storing text attributes
*
* Extracts a view of the visible part of the terminal. If @is_selected is not
* %NULL, characters will only be read if @is_selected returns %TRUE after being
@@ -6136,7 +6136,7 @@ vte_terminal_get_text_maybe_wrapped(VteTerminal *terminal,
* is added to @attributes for each byte added to the returned string detailing
* the character's position, colors, and other characteristics.
*
- * Returns: (transfer): a newly allocated text string, or %NULL.
+ * Returns: (transfer full): a newly allocated text string, or %NULL.
*/
char *
vte_terminal_get_text(VteTerminal *terminal,
@@ -6160,7 +6160,7 @@ vte_terminal_get_text(VteTerminal *terminal,
* @terminal: a #VteTerminal
* @is_selected: a #VteSelectionFunc callback
* @user_data: (closure): user data to be passed to the callback
- * @attributes: (out) (transfer) (array) (element-type Vte.CharAttributes): location for storing text attributes
+ * @attributes: (out) (transfer full) (array) (element-type Vte.CharAttributes): location for storing text attributes
*
* Extracts a view of the visible part of the terminal. If @is_selected is not
* %NULL, characters will only be read if @is_selected returns %TRUE after being
@@ -6170,7 +6170,7 @@ vte_terminal_get_text(VteTerminal *terminal,
* differs from vte_terminal_get_text() in that trailing spaces at the end of
* lines are included.
*
- * Returns: (transfer): a newly allocated text string, or %NULL.
+ * Returns: (transfer full): a newly allocated text string, or %NULL.
*
* Since: 0.11.11
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]