GNOME Bugzilla – Bug 604895
annotation updates for GtkImage, GtkIconSize
Last modified: 2009-12-19 09:35:07 UTC
qv bug 601425
Created attachment 149977 [details] [review] Fix out/transfer annotations on GtkImage getters
Created attachment 149978 [details] [review] 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.
Looks ok to me. Does gtk-doc do a reasonable job with these annotations by now ?
(In reply to comment #3) > Does gtk-doc do a reasonable job with these annotations by now gtk-doc 1.11 was a little broken, but it appears that gtk-doc 1.12 was released yesterday, which should be fine. (It's been working fine in git gtk-doc forever, there just hadn't been a new release.)
Attachment 149977 [details] pushed as 6afa3b9 - Fix out/transfer annotations on GtkImage getters Attachment 149978 [details] pushed as 0b4af24 - Change GtkIconSize to int in params/return values