After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 562064 - index generation trouble
index generation trouble
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-23 22:41 UTC by Matthias Clasen
Modified: 2008-12-01 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a patch (912 bytes, patch)
2008-11-23 22:41 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2008-11-23 22:41:08 UTC
I am seeing a problem with index entries for child properties and
style properties.

The links in the the index point to the name as for a regular property, e.g.
GtkBox--pack-type or GtkDialog--content-area-spacing, but the ids that
are generated are
GtkBox--c-pack-type and GtkDialog--s-content-area-spacing. Looking at
the generated xml
in  api-index-full.xml, I see

<indexentry><primaryie linkends="GtkBox--c-pack-type"><link
linkend="GtkBox--pack-type">GtkBox:pack-type</link></primaryie></indexentry>

The primaryie linkends are correct, but there is a link inside it with
the wrong linkend, and the
html link seems to be generated from the link element, not the
primaryie element.

This is with gtk-doc 1.11, ie the index is generated in perl by
gtkdoc-mkdb, not in xsl.
Comment 1 Matthias Clasen 2008-11-23 22:41:51 UTC
Created attachment 123287 [details] [review]
a patch
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-12-01 09:23:52 UTC
Works. Thanks for patch

2008-12-01  Stefan Kost  <ensonic@users.sf.net>

	patch by: Matthias Clasen  <mclasen@redhat.com>

	* gtkdoc-mkdb.in:
	  Fix index-id generation for child and style properties. Fixes #562064.