summaryrefslogtreecommitdiff
path: root/gtk/gtktoolshell.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/gtktoolshell.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/gtktoolshell.c')
-rw-r--r--gtk/gtktoolshell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolshell.c b/gtk/gtktoolshell.c
index 92560e57a6..ac7b84e569 100644
--- a/gtk/gtktoolshell.c
+++ b/gtk/gtktoolshell.c
@@ -66,7 +66,7 @@ gtk_tool_shell_get_type (void)
* Retrieves the icon size for the tool shell. Tool items must not call this
* function directly, but rely on gtk_tool_item_get_icon_size() instead.
*
- * Return value: the current size for icons of @shell
+ * Return value: (type int): the current size for icons of @shell
*
* Since: 2.14
**/