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/gtktoolshell.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/gtktoolshell.c')
-rw-r--r-- | gtk/gtktoolshell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolshell.c b/gtk/gtktoolshell.c index bd63eddebb..7dae16e7cd 100644 --- a/gtk/gtktoolshell.c +++ b/gtk/gtktoolshell.c @@ -90,7 +90,7 @@ gtk_tool_shell_real_get_ellipsize_mode (GtkToolShell *shell) * 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. * - * Returns: (type int): the current size for icons of @shell + * Returns: (type int): the current size (#GtkIconSize) for icons of @shell * * Since: 2.14 **/ |