diff options
author | Christoph Reiter <creiter@src.gnome.org> | 2015-10-31 13:38:24 +0100 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2016-01-04 11:56:44 +0100 |
commit | f66191346c997e9f45843f6d8f087aa555bde811 (patch) | |
tree | aeea0cb8d7b1ed48c04ac9d16d670f53c3064892 /gtk/gtkscalebutton.c | |
parent | 10f71dd98c2ef007b25de597b2523870e22fd594 (diff) | |
download | gtk+-f66191346c997e9f45843f6d8f087aa555bde811.tar.gz |
Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize
In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations
were changed to int as they not only take the predefined enum values
but also user defined values registered through gtk_icon_size_register()
As a result the typelib doesn't contain any information about
GtkIconSize for those arguments and the Python docstring only
shows the corresponding Python type "int".
This changes the argument docs to mention the type explicitly
so the Python doc generator can add a link to Gtk.IconSize
which contains the most useful predefined values.
https://bugzilla.gnome.org/show_bug.cgi?id=757411
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r-- | gtk/gtkscalebutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index 4b7040f39f..cdca312c3f 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -496,7 +496,7 @@ gtk_scale_button_dispose (GObject *object) /** * gtk_scale_button_new: - * @size: (type int): a stock icon size + * @size: (type int): a stock icon size (#GtkIconSize) * @min: the minimum value of the scale (usually 0) * @max: the maximum value of the scale (usually 100) * @step: the stepping of value when a scroll-wheel event, |