[gtk-doc] fixxref: only add glib types to nolinks if we don't have them
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] fixxref: only add glib types to nolinks if we don't have them
- Date: Tue, 1 May 2018 18:44:50 +0000 (UTC)
commit 62d17f4ad361b286799b333eb4a2e01f7c4801b8
Author: Stefan Sauer <ensonic users sf net>
Date: Tue May 1 20:42:51 2018 +0200
fixxref: only add glib types to nolinks if we don't have them
gtkdoc/fixxref.py | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gtkdoc/fixxref.py b/gtkdoc/fixxref.py
index bc733a2..d79d75c 100755
--- a/gtkdoc/fixxref.py
+++ b/gtkdoc/fixxref.py
@@ -49,10 +49,6 @@ NoLinks = {
'unsigned',
'va-list',
'void',
- 'GBoxed',
- 'GEnum',
- 'GFlags',
- 'GInterface'
}
@@ -93,6 +89,11 @@ def LoadIndicies(module_dir, html_dir, extra_dirs):
if dir != html_dir:
logging.info('Scanning GLib directory: %s', dir)
ScanIndices(dir, (re.search(prefix_match, dir) is None), dir_cache)
+ else:
+ NoLinks.add('GBoxed')
+ NoLinks.add('GEnum')
+ NoLinks.add('GFlags')
+ NoLinks.add('GInterface')
path = os.environ.get('GNOME2_PATH')
if path:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]