Re: linking to signals
- From: Matthias Clasen <mclasen redhat com>
- To: Damon Chaplin <damon karuna eclipse co uk>
- Cc: gtk-doc-list gnome org
- Subject: Re: linking to signals
- Date: Fri, 01 Jun 2007 08:25:53 -0400
On Fri, 2007-06-01 at 09:58 +0100, Damon Chaplin wrote:
> On Wed, 2007-05-30 at 00:47 -0400, Matthias Clasen wrote:
>
> > Here is a patch.
>
> --- gtkdoc-mkdb.in 2007-05-30 00:41:22.000000000 -0400
> +++ gtkdoc-mkdb 2007-05-30 00:40:20.000000000 -0400
> @@ -1934,7 +1934,7 @@
> # Convert '#symbol'
> # if $1 is Object::signal change id to Object-signal
> # if $1 is Object:property change id to Object--property
> - $text =~ s/#([\w\-:]+)/&MakeHashXRef(&symbolify($1), &tagify2($1,
> "type"));/eg;
> + $text =~ s/#([\w\-:]+)/&MakeHashXRef(&symbolify($1),
> &tagify2(classless($1), "type"));/eg;
> }
>
>
> That will affect properties as well, won't it? Was that intentional?
Ah, yes. Didn't I mention that I'd like to see property links shortened
as well ? But we can treat that independently, if you want. I guess even
better would be some context-sensitive solution, ie create short links
when in the context of the same class, ie for a link from
gtk_foo_set_bar to Foo:bar, and create full links otherwise. But that
may be a bit harder.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]