GNOME Bugzilla – Bug 705633
(patch) gtkdoc-scan: don't add the title until all symbols have been added
Last modified: 2014-02-09 12:08:54 UTC
Created attachment 251097 [details] [review] the patch to fix the problem Previously, adding "SomeSymbol" using AddSymbolToList() didn't work if <TITLE>SomeSymbol</TITLE> was already there, due to regexp in AddSymbolToList that would reject the addition. I fixed the order, rather than the regexp (see the patch). This problem happens for example with glib interface definitions where the interface name is added as a section title, but not as a symbol in the section, which results in incomplete -sections.txt file and accordingly incomplete generated documentation.
Created attachment 251236 [details] [review] the patch to fix the problem added bugzilla bug URL to the commit message
Thanks for the patch, if you can make a patch for the tests too, that would be awesome.
Created attachment 251253 [details] [review] testcase for this bug There you go sir.
(changed the status back so that the testcase patch doesn't slip through the cracks)
The following fix has been pushed: 875aca2 tests: add testcase for bug #705633
Created attachment 268571 [details] [review] tests: add testcase for bug #705633