GNOME Bugzilla – Bug 669417
Duplicate IDs generated for unions registered as boxed types
Last modified: 2014-02-08 16:37:34 UTC
When registering a C union type as a GBoxed type, let's call it FooObject, Gtk-Doc generates <anchor id="FooObject"/> in the synopsis of the page, but the documentation of the FooObject union also gets id="FooObject". This produces a whole spew of warnings about duplicate IDs when converting the generated XML to HTML. This is handled properly for structs though, so here's a patch that does the same thing for unions.
Created attachment 206849 [details] [review] Patch that fixes the problem
*** Bug 690793 has been marked as a duplicate of this bug. ***
The following fix has been pushed: 9cab897 mkdb: Prevent duplicate IDs in boxed union types
Created attachment 268507 [details] [review] mkdb: Prevent duplicate IDs in boxed union types When registering a C union as a GBoxed type, Gtk-Doc generates duplicate IDs. This handles the problem in the same way as structs handle it. Fixes bgo#669417.