summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-12-18 11:58:36 +0100
committerDan Winship <danw@gnome.org>2009-12-19 10:32:35 +0100
commit0b4af241b60cb63cccc010bc7c94ab2c97134730 (patch)
tree7807469ba01022ae6d468274d1ef8a29a0e2e0e6 /gtk/gtktooltip.c
parent6afa3b95078bbb78ba3287e1859395cc25bb41c3 (diff)
downloadgtk+-0b4af241b60cb63cccc010bc7c94ab2c97134730.tar.gz
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
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r--gtk/gtktooltip.c6
1 files changed, 3 insertions, 3 deletions
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