docs: use Returns: consistently
Instead of Return value:
This commit is contained in:
@ -829,7 +829,7 @@ gtk_ui_manager_real_get_action (GtkUIManager *manager,
|
||||
*
|
||||
* Creates a new ui manager object.
|
||||
*
|
||||
* Return value: a new ui manager object.
|
||||
* Returns: a new ui manager object.
|
||||
*
|
||||
* Since: 2.4
|
||||
*
|
||||
@ -849,7 +849,7 @@ gtk_ui_manager_new (void)
|
||||
* Returns whether menus generated by this #GtkUIManager
|
||||
* will have tearoff menu items.
|
||||
*
|
||||
* Return value: whether tearoff menu items are added
|
||||
* Returns: whether tearoff menu items are added
|
||||
*
|
||||
* Since: 2.4
|
||||
*
|
||||
@ -1049,7 +1049,7 @@ gtk_ui_manager_remove_action_group (GtkUIManager *manager,
|
||||
*
|
||||
* Returns the list of action groups associated with @manager.
|
||||
*
|
||||
* Return value: (element-type GtkActionGroup) (transfer none): a #GList of
|
||||
* Returns: (element-type GtkActionGroup) (transfer none): a #GList of
|
||||
* action groups. The list is owned by GTK+
|
||||
* and should not be modified.
|
||||
*
|
||||
@ -1071,7 +1071,7 @@ gtk_ui_manager_get_action_groups (GtkUIManager *manager)
|
||||
*
|
||||
* Returns the #GtkAccelGroup associated with @manager.
|
||||
*
|
||||
* Return value: (transfer none): the #GtkAccelGroup.
|
||||
* Returns: (transfer none): the #GtkAccelGroup.
|
||||
*
|
||||
* Since: 2.4
|
||||
*
|
||||
@ -1105,7 +1105,7 @@ gtk_ui_manager_get_accel_group (GtkUIManager *manager)
|
||||
* function to some container or explicitly ref them, they will survive the
|
||||
* destruction of the ui manager.
|
||||
*
|
||||
* Return value: (transfer none): the widget found by following the path,
|
||||
* Returns: (transfer none): the widget found by following the path,
|
||||
* or %NULL if no widget was found
|
||||
*
|
||||
* Since: 2.4
|
||||
@ -1163,7 +1163,7 @@ collect_toplevels (GNode *node,
|
||||
*
|
||||
* Obtains a list of all toplevel widgets of the requested types.
|
||||
*
|
||||
* Return value: (element-type GtkWidget) (transfer container): a newly-allocated #GSList of
|
||||
* Returns: (element-type GtkWidget) (transfer container): a newly-allocated #GSList of
|
||||
* all toplevel widgets of the requested types. Free the returned list with g_slist_free().
|
||||
*
|
||||
* Since: 2.4
|
||||
@ -1201,7 +1201,7 @@ gtk_ui_manager_get_toplevels (GtkUIManager *manager,
|
||||
* Looks up an action by following a path. See gtk_ui_manager_get_widget()
|
||||
* for more information about paths.
|
||||
*
|
||||
* Return value: (transfer none): the action whose proxy widget is found by following the path,
|
||||
* Returns: (transfer none): the action whose proxy widget is found by following the path,
|
||||
* or %NULL if no widget was found.
|
||||
*
|
||||
* Since: 2.4
|
||||
@ -1413,7 +1413,7 @@ free_node (GNode *node)
|
||||
* Returns an unused merge id, suitable for use with
|
||||
* gtk_ui_manager_add_ui().
|
||||
*
|
||||
* Return value: an unused merge id.
|
||||
* Returns: an unused merge id.
|
||||
*
|
||||
* Since: 2.4
|
||||
*
|
||||
@ -1937,7 +1937,7 @@ add_ui_from_string (GtkUIManager *manager,
|
||||
* the current contents of @manager. An enclosing <ui> element is added if
|
||||
* it is missing.
|
||||
*
|
||||
* Return value: The merge id for the merged UI. The merge id can be used
|
||||
* Returns: The merge id for the merged UI. The merge id can be used
|
||||
* to unmerge the UI with gtk_ui_manager_remove_ui(). If an error occurred,
|
||||
* the return value is 0.
|
||||
*
|
||||
@ -1981,7 +1981,7 @@ gtk_ui_manager_add_ui_from_string (GtkUIManager *manager,
|
||||
* Parses a file containing a [UI definition][XML-UI] and
|
||||
* merges it with the current contents of @manager.
|
||||
*
|
||||
* Return value: The merge id for the merged UI. The merge id can be used
|
||||
* Returns: The merge id for the merged UI. The merge id can be used
|
||||
* to unmerge the UI with gtk_ui_manager_remove_ui(). If an error occurred,
|
||||
* the return value is 0.
|
||||
*
|
||||
@ -2018,7 +2018,7 @@ gtk_ui_manager_add_ui_from_file (GtkUIManager *manager,
|
||||
* Parses a resource file containing a [UI definition][XML-UI] and
|
||||
* merges it with the current contents of @manager.
|
||||
*
|
||||
* Return value: The merge id for the merged UI. The merge id can be used
|
||||
* Returns: The merge id for the merged UI. The merge id can be used
|
||||
* to unmerge the UI with gtk_ui_manager_remove_ui(). If an error occurred,
|
||||
* the return value is 0.
|
||||
*
|
||||
@ -3343,7 +3343,7 @@ gtk_ui_manager_buildable_custom_tag_end (GtkBuildable *buildable,
|
||||
*
|
||||
* Creates a [UI definition][XML-UI] of the merged UI.
|
||||
*
|
||||
* Return value: A newly allocated string containing an XML representation of
|
||||
* Returns: A newly allocated string containing an XML representation of
|
||||
* the merged UI.
|
||||
*
|
||||
* Since: 2.4
|
||||
|
Reference in New Issue
Block a user