From f66191346c997e9f45843f6d8f087aa555bde811 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 31 Oct 2015 13:38:24 +0100 Subject: 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 --- gtk/gtkscalebutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkscalebutton.c') 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, -- cgit v1.2.1