[gtk-doc] mkdb: fix missing info on typedefs



commit a4a719606bfa0abdea794f6a7d4f46b3e3fcb77e
Author: Stefan Sauer <ensonic users sf net>
Date:   Thu Oct 26 21:06:17 2017 +0200

    mkdb: fix missing info on typedefs
    
    This was a regression from the perl->python port.

 gtkdoc/mkdb.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc/mkdb.py b/gtkdoc/mkdb.py
index 7bb6d3e..3b0bc15 100644
--- a/gtkdoc/mkdb.py
+++ b/gtkdoc/mkdb.py
@@ -1281,7 +1281,7 @@ def OutputTypedef(symbol, declaration):
     desc += "\n"
     desc += OutputSymbolExtraLinks(symbol)
 
-    if symbol in DeclarationConditional:
+    if symbol not in DeclarationConditional:
         decl_out = CreateValidSGML(declaration)
         desc += "<programlisting language=\"C\">%s</programlisting>\n" % decl_out
 


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