From 0b4af241b60cb63cccc010bc7c94ab2c97134730 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 18 Dec 2009 11:58:36 +0100 Subject: Change GtkIconSize to int in params/return values GtkIconSize is an extensible enumeration (via gtk_icon_size_register()), so methods that claim to take/return a GtkIconSize need to actually use "int" to work correctly with bindings that are strict about enum values. https://bugzilla.gnome.org/show_bug.cgi?id=604895 --- gtk/gtktooltip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/gtktooltip.c') diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 8ccd363e01..61d71ba503 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -282,7 +282,7 @@ gtk_tooltip_set_icon (GtkTooltip *tooltip, * gtk_tooltip_set_icon_from_stock: * @tooltip: a #GtkTooltip * @stock_id: a stock id, or %NULL - * @size: a stock icon size + * @size: (type int): a stock icon size * * Sets the icon of the tooltip (which is in front of the text) to be * the stock item indicated by @stock_id with the size indicated @@ -309,7 +309,7 @@ gtk_tooltip_set_icon_from_stock (GtkTooltip *tooltip, * gtk_tooltip_set_icon_from_icon_name: * @tooltip: a #GtkTooltip * @icon_name: an icon name, or %NULL - * @size: a stock icon size + * @size: (type int): a stock icon size * * Sets the icon of the tooltip (which is in front of the text) to be * the icon indicated by @icon_name with the size indicated @@ -336,7 +336,7 @@ gtk_tooltip_set_icon_from_icon_name (GtkTooltip *tooltip, * gtk_tooltip_set_icon_from_gicon: * @tooltip: a #GtkTooltip * @gicon: a #GIcon representing the icon, or %NULL - * @size: a stock icon size + * @size: (type int): 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 -- cgit v1.2.1