GNOME Bugzilla – Bug 638138
GenPod show property default values
Last modified: 2011-08-17 21:58:17 UTC
Created attachment 177107 [details] [review] patch I'd be good if the properties sections of the docs showed the default value for each property, to see the sense of various settings, widths of borders, etc. Perhaps something like attached. (It was meant to be simply $pspec->get_default_value stuck into the output, but formatting it nicely slightly grew :-).
Review of attachment 177107 [details] [review]: Fantastic patch! Only one minor quibble... ::: lib/Glib/GenPod.pm @@ +545,3 @@ + my $type = $pspec->get_value_type; + + if ($type->isa('Glib::Boolean')) { ... it seems like this needs to "$type eq 'Glib::Boolean'", right? Because Glib::Boolean->isa('Glib::Boolean') is actually false.
Created attachment 194002 [details] [review] patch 2 Ah, yep, new diff.
Thanks a lot, committed.