diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-09-21 00:18:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-09-21 00:18:11 -0400 |
commit | e0aa12eb0ab8d20a2bc9de7d89c779d3566ee669 (patch) | |
tree | 63a25f9dd34d5a7b8776c37bccb197bf5d63bfb0 /gtk/gtktoolitem.c | |
parent | ca251cf1d45ed6be71065d058313b9b22d36f10d (diff) | |
download | gtk+-e0aa12eb0ab8d20a2bc9de7d89c779d3566ee669.tar.gz |
Tons of transfer annotations
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index 202f385710..2f20218719 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -893,10 +893,11 @@ gtk_tool_item_get_text_orientation (GtkToolItem *tool_item) * gtk_tool_item_get_text_size_group: * @tool_item: a #GtkToolItem * - * Returns the size group used for labels in @tool_item. Custom subclasses of - * #GtkToolItem should call this function and use the size group for labels. + * Returns the size group used for labels in @tool_item. + * Custom subclasses of #GtkToolItem should call this function + * and use the size group for labels. * - * Return value: a #GtkSizeGroup + * Return value: (transfer none): a #GtkSizeGroup * * Since: 2.20 */ @@ -1288,20 +1289,21 @@ gtk_tool_item_retrieve_proxy_menu_item (GtkToolItem *tool_item) /** * gtk_tool_item_get_proxy_menu_item: - * @tool_item: a #GtkToolItem + * @tool_item: a #GtkToolItem * @menu_item_id: a string used to identify the menu item - * + * * If @menu_item_id matches the string passed to * gtk_tool_item_set_proxy_menu_item() return the corresponding #GtkMenuItem. * - * Custom subclasses of #GtkToolItem should use this function to update - * their menu item when the #GtkToolItem changes. That the - * @menu_item_id<!-- -->s must match ensures that a #GtkToolItem will not - * inadvertently change a menu item that they did not create. - * - * Return value: The #GtkMenuItem passed to - * gtk_tool_item_set_proxy_menu_item(), if the @menu_item_id<!-- -->s match. - * + * Custom subclasses of #GtkToolItem should use this function to + * update their menu item when the #GtkToolItem changes. That the + * @menu_item_id<!-- -->s must match ensures that a #GtkToolItem + * will not inadvertently change a menu item that they did not create. + * + * Return value: (transfer none): The #GtkMenuItem passed to + * gtk_tool_item_set_proxy_menu_item(), if the @menu_item_id<!-- -->s + * match. + * * Since: 2.4 **/ GtkWidget * |