GNOME Bugzilla – Bug 482158
generate_extra_defs handels interfaces and enums wrong
Last modified: 2007-10-05 09:32:14 UTC
If you give an interface type to get_defs() in generate_extra_defs.cc, it won´t generate the property and signal definitions, because it only parses classes. If you give it an enum type, it tries to get the signals of it and generates error messages.
Created attachment 96458 [details] [review] Patch for generate_extra_defs to handle interfaces and enums correctly
Well done. Committed to svn trunk. Sorry for not noticing this patch before now. Please remember to patch the ChangeLog in future.
Is it possible to backport this bug fix to the stable branch?
2007-10-05 Philipp Kerling <philipp@gmail.com> * tools/extra_defs_gen/generate_extra_defs.cc: Also create defs for interfaces, by refing and unrefing them temporarily. Thank you.
Sven, yes, go ahead if it's useful to you.