diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2015-07-21 20:16:15 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2015-07-21 20:17:16 +0200 |
commit | 658a1ef06989b0a02ca6d056bd1f90889c25a52d (patch) | |
tree | a7dc7e8fc308add814afed35f5dcf536bac6e2be /gtk/gtktoolbutton.c | |
parent | 22056ced7af3895a4da29c5aa21d60585c7d9969 (diff) | |
download | gtk+-658a1ef06989b0a02ca6d056bd1f90889c25a52d.tar.gz |
toolbutton: improve docs wrt stock deprecation
Docuemnt where to get the images from.
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r-- | gtk/gtktoolbutton.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c index 07344cdb85..6a71c66778 100644 --- a/gtk/gtktoolbutton.c +++ b/gtk/gtktoolbutton.c @@ -1115,7 +1115,8 @@ gtk_tool_button_sync_action_properties (GtkActivatable *activatable, * * Since: 2.4 * - * Deprecated: 3.10: Use gtk_tool_button_new() instead. + * Deprecated: 3.10: Use gtk_tool_button_new() together with + * gtk_image_new_from_icon_name() instead. **/ GtkToolItem * gtk_tool_button_new_from_stock (const gchar *stock_id) @@ -1136,7 +1137,7 @@ gtk_tool_button_new_from_stock (const gchar *stock_id) * @label: (allow-none): a string that will be used as label, or %NULL * @icon_widget: (allow-none): a widget that will be used as the button contents, or %NULL * - * Creates a new %GtkToolButton using @icon_widget as contents and @label as + * Creates a new #GtkToolButton using @icon_widget as contents and @label as * label. * * Returns: A new #GtkToolButton |