summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.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/gtkaction.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/gtkaction.c')
-rw-r--r--gtk/gtkaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c
index 48417a2bfc..40cf10f15a 100644
--- a/gtk/gtkaction.c
+++ b/gtk/gtkaction.c
@@ -825,7 +825,7 @@ gtk_action_unblock_activate (GtkAction *action)
/**
* gtk_action_create_icon:
* @action: the action object
- * @icon_size: the size of the icon that should be created.
+ * @icon_size: (type int): the size of the icon that should be created.
*
* This function is intended for use by action implementations to
* create icons displayed in the proxy widgets.