[gtk-doc] Use a style class on C punctuation



commit d131fe588d8e591d3970afa12a4dd7c84c386682
Author: William Jon McCann <william jon mccann gmail com>
Date:   Tue Feb 11 09:15:09 2014 -0500

    Use a style class on C punctuation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724099

 gtkdoc-mkdb.in  |    4 ++--
 style/style.css |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index da21c12..4b2845f 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -2228,9 +2228,9 @@ sub OutputFunction {
             . (' ' x ($SYMBOL_FIELD_WIDTH + $RETURN_TYPE_FIELD_WIDTH));
     }
 
-    my $synop = "<row><entry role=\"function_type\">${ret_type_output}</entry><entry 
role=\"function_name\">${symbol_output}&#160;()</entry></row>\n";
+    my $synop = "<row><entry role=\"function_type\">${ret_type_output}</entry><entry 
role=\"function_name\">${symbol_output}&#160;<phrase role=\"c_punctuation\">()</phrase></entry></row>\n";
 
-    my $desc = "<refsect2 id=\"$id\" role=\"function\"$condition>\n<title>${symbol}&#160;()</title>\n";
+    my $desc = "<refsect2 id=\"$id\" role=\"function\"$condition>\n<title>${symbol}&#160;<phrase 
role=\"c_punctuation\">()</phrase></title>\n";
 
     $desc .= MakeIndexterms($symbol, $id);
     $desc .= "\n";
diff --git a/style/style.css b/style/style.css
index 7e8fc54..d79063e 100644
--- a/style/style.css
+++ b/style/style.css
@@ -163,6 +163,7 @@ div.informaltable table td, div.informaltable table th
 }
 
 /* dim non-primary columns */
+.c_punctuation,
 .function_type,
 .property_type,
 .signal_type,


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