diff options
author | Dan Winship <danw@gnome.org> | 2009-12-18 11:58:36 +0100 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-12-19 10:32:35 +0100 |
commit | 0b4af241b60cb63cccc010bc7c94ab2c97134730 (patch) | |
tree | 7807469ba01022ae6d468274d1ef8a29a0e2e0e6 /gtk/gtktoolpalette.c | |
parent | 6afa3b95078bbb78ba3287e1859395cc25bb41c3 (diff) | |
download | gtk+-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/gtktoolpalette.c')
-rw-r--r-- | gtk/gtktoolpalette.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c index 9d7bc28f4c..5c38781f38 100644 --- a/gtk/gtktoolpalette.c +++ b/gtk/gtktoolpalette.c @@ -1074,7 +1074,8 @@ gtk_tool_palette_new (void) /** * gtk_tool_palette_set_icon_size: * @palette: a #GtkToolPalette - * @icon_size: the #GtkIconSize that icons in the tool palette shall have + * @icon_size: (type int): the #GtkIconSize that icons in the tool + * palette shall have * * Sets the size of icons in the tool palette. * @@ -1240,7 +1241,7 @@ gtk_tool_palette_unset_style (GtkToolPalette *palette) * Gets the size of icons in the tool palette. * See gtk_tool_palette_set_icon_size(). * - * Returns: the #GtkIconSize of icons in the tool palette + * Returns: (type int): the #GtkIconSize of icons in the tool palette * * Since: 2.20 */ |