GNOME Bugzilla – Bug 675571
(out) or (inout) annotation possibly missing for gtk_menu_item_toggle_size_request
Last modified: 2013-04-29 06:22:15 UTC
For gtk_menu_item_toggle_size_request, the parameter requisition is reported as an IN pointer by introspection. However, it appears that toggle-size-request signal handlers write to *requisition, so this should probably be marked (out), or even (inout) if, in principle, a signal handler may read it too.
Created attachment 229076 [details] [review] add inout annotation The default handler (gtk_real_menu_item_toggle_size_request) does: *requisition = 0; so I guess that (inout) is the right annotation, which is what the attached patch adds.
Review of attachment 229076 [details] [review]: ok
Comment on attachment 229076 [details] [review] add inout annotation Pushed to master as commit 402985077bec898c2d30734cea5ee3d31ad1d7b4.