[gobject-introspection] g-ir-scanner: Stop going up the hierarchy once we reach GObject
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] g-ir-scanner: Stop going up the hierarchy once we reach GObject
- Date: Mon, 15 Aug 2011 09:35:17 +0000 (UTC)
commit a71cf2d949eda31211a59d81fd9a222fba50575b
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date: Mon Aug 15 11:34:20 2011 +0200
g-ir-scanner: Stop going up the hierarchy once we reach GObject
giscanner/docbookwriter.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/docbookwriter.py b/giscanner/docbookwriter.py
index 30b15ee..822a5ab 100644
--- a/giscanner/docbookwriter.py
+++ b/giscanner/docbookwriter.py
@@ -532,7 +532,7 @@ class DocBookWriter(object):
parent_chain = []
node = page_node
- while node.parent:
+ while node.parent and node.gi_name != 'GObject.Object':
node = self._transformer.lookup_giname(str(node.parent))
parent_chain.append(node)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]