Commit 097b254e authored by Matthias Clasen's avatar Matthias Clasen

Documentation and stylistic fixups

parent ff2dbc50
......@@ -333,13 +333,14 @@ gtk_tooltip_set_icon_from_icon_name (GtkTooltip *tooltip,
}
/**
* gtk_tooltip_set_from_gicon:
* gtk_tooltip_set_icon_from_gicon:
* @tooltip: a #GtkTooltip
* @gicon: a #GIcon representing the icon, or %NULL
* @size: a stock icon size
* Sets the icon of the tooltip (which is in front of the text) to be
* the icon indicated by @gicon with the size indicated
* by @size. If @icon_name is %NULL, the image will be hidden.
*
* Sets the icon of the tooltip (which is in front of the text)
* to be the icon indicated by @gicon with the size indicated
* by @size. If @gicon is %NULL, the image will be hidden.
*
* Since: 2.20
*/
......
......@@ -48,9 +48,9 @@ void gtk_tooltip_set_icon_from_stock (GtkTooltip *tooltip,
void gtk_tooltip_set_icon_from_icon_name (GtkTooltip *tooltip,
const gchar *icon_name,
GtkIconSize size);
void gtk_tooltip_set_icon_from_gicon (GtkTooltip *tooltip,
GIcon *gicon,
GtkIconSize size);
void gtk_tooltip_set_icon_from_gicon (GtkTooltip *tooltip,
GIcon *gicon,
GtkIconSize size);
void gtk_tooltip_set_custom (GtkTooltip *tooltip,
GtkWidget *custom_widget);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment