Re: Problem with index entries for style properties



On Fri, Nov 21, 2008 at 10:16 PM, Matthias Clasen
<matthias clasen gmail com> wrote:
> 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.
>

It appears changing

        my $xref = &MakeXRef ($symbol);

to

        my $xref = &MakeXRef ($id, $symbol);

In OutputIndex in gtkdoc-mkdb fixes this problem.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]