[gi-docgen] genindex: Fix typo in the document index



commit ea5c21c8da6cbc12dbe4d5fb6adf5177a15d2d79
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Mar 31 22:34:12 2021 +0100

    genindex: Fix typo in the document index

 gidocgen/gdgenindices.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gidocgen/gdgenindices.py b/gidocgen/gdgenindices.py
index c6517f1..09005f8 100644
--- a/gidocgen/gdgenindices.py
+++ b/gidocgen/gdgenindices.py
@@ -169,7 +169,7 @@ def _gen_classes(config, stemmer, index, repository, symbols):
                 "ident": method.identifier,
                 "summary": utils.preprocess_docs(method_desc, repository.namespace, summary=True, 
plain=True),
             })
-            add_index_terms(index_terms, [method.identifier], ctor_idx)
+            add_index_terms(index_terms, [method.identifier], method_idx)
             add_index_terms(index_terms, utils.index_symbol(method.name, stemmer), method_idx)
             add_index_terms(index_terms, utils.index_description(method_desc, stemmer), method_idx)
 


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