From 85a09f9cde5d8c91ab77151fb99965365a7e12ed Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Thu, 27 Jul 2000 07:08:00 +0200 Subject: [PATCH] Do not use the same name for three different tags Rev: src/post_modules/GTK/docs.pike:1.3 --- src/post_modules/GTK/docs.pike | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/post_modules/GTK/docs.pike b/src/post_modules/GTK/docs.pike index 280870cac1..befe7f0dc6 100644 --- a/src/post_modules/GTK/docs.pike +++ b/src/post_modules/GTK/docs.pike @@ -163,8 +163,8 @@ void print_function_defs( string f, int|void global ) foreach(sort(indices(struct)), string w) if(struct[w]["inherit"] == f) fd->write( make_tag( "inherited", ([ "/":"/", - "href":class_file_name( f ), - "class":classname( f ) ])) ); + "href":class_file_name( w ), + "class":classname( w ) ])) ); } if(sizeof(indices(struct[f])) > 1) { @@ -219,9 +219,9 @@ void print_function_defs( string f, int|void global ) } if(struct[f]["inherit"]) { - fd->write("<inherited>"); + fd->write("<inherited-methods>"); print_inherited_functions( struct[f]["inherit"], fd ); - fd->write("</inherited>"); + fd->write("</inherited-methods>"); } fd->write("</methods>"); } @@ -229,10 +229,10 @@ void print_function_defs( string f, int|void global ) { fd->write("<signals>"); print_signals( signals[f], fd, f ); - fd->write("<inherited>"); + fd->write("<inherited-signals>"); if(struct[f]["inherit"]) print_inherited_signals( struct[f]["inherit"], fd ); - fd->write("</inherited>"); + fd->write("</inherited-signals>"); fd->write("</signals>"); } fd->write("</class>\n"); -- GitLab