summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitem.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/gtktoolitem.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/gtktoolitem.c')
-rw-r--r--gtk/gtktoolitem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 1cae42908f..2d18d4e823 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -738,7 +738,8 @@ gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item)
* #GtkToolItem should call this function to find out what size icons
* they should use.
*
- * Return value: a #GtkIconSize indicating the icon size used for @tool_item
+ * Return value: (type int): a #GtkIconSize indicating the icon size
+ * used for @tool_item
*
* Since: 2.4
**/