diff options
author | infirit <[email protected]> | 2015-09-05 21:06:15 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-05 21:46:09 +0200 |
commit | 3d9e640cc4221a43d214951da5cbdc43c4f55662 (patch) | |
tree | a4fbe0612956b35a63c1cec927ea9ad7e79bb217 /pluma/pluma-window.c | |
parent | 1618c8f7248722265450b11ef48ced34c7a317a5 (diff) | |
download | pluma-3d9e640cc4221a43d214951da5cbdc43c4f55662.tar.bz2 pluma-3d9e640cc4221a43d214951da5cbdc43c4f55662.tar.xz |
Fix up the docs
Taken from gedit,
commit: 42a6a8d8d87f32572f56b56a9c4e92f7181d339a
from: Garrett Regier <[email protected]>
Diffstat (limited to 'pluma/pluma-window.c')
-rw-r--r-- | pluma/pluma-window.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c index f00f2ac8..5ed3e6e2 100644 --- a/pluma/pluma-window.c +++ b/pluma/pluma-window.c @@ -4115,7 +4115,8 @@ add_document (PlumaTab *tab, GList **res) * Gets a newly allocated list with all the documents in the window. * This list must be freed. * - * Returns: a newly allocated list with all the documents in the window + * Returns: (element-type Pluma.Document) (transfer container): a newly + * allocated list with all the documents in the window */ GList * pluma_window_get_documents (PlumaWindow *window) @@ -4149,7 +4150,8 @@ add_view (PlumaTab *tab, GList **res) * * Gets a list with all the views in the window. This list must be freed. * - * Returns: a newly allocated list with all the views in the window + * Returns: (element-type Pluma.View) (transfer container): a newly allocated + * list with all the views in the window */ GList * pluma_window_get_views (PlumaWindow *window) @@ -4210,7 +4212,7 @@ pluma_window_close_all_tabs (PlumaWindow *window) /** * pluma_window_close_tabs: * @window: a #PlumaWindow - * @tabs: a list of #PlumaTab + * @tabs: (element-type Pluma.Tab): a list of #PlumaTab * * Closes all tabs specified by @tabs. */ @@ -4426,7 +4428,8 @@ _pluma_window_set_default_location (PlumaWindow *window, * * Gets the list of documents that need to be saved before closing the window. * - * Returns: a list of #PlumaDocument that need to be saved before closing the window + * Returns: (element-type Pluma.Document) (transfer container): a list of + * #PlumaDocument that need to be saved before closing the window */ GList * pluma_window_get_unsaved_documents (PlumaWindow *window) @@ -4630,7 +4633,7 @@ pluma_window_get_tab_from_location (PlumaWindow *window, * Gets the #PlumaMessageBus associated with @window. The returned reference * is owned by the window and should not be unreffed. * - * Return value: the #PlumaMessageBus associated with @window + * Return value: (transfer none): the #PlumaMessageBus associated with @window */ PlumaMessageBus * pluma_window_get_message_bus (PlumaWindow *window) |