[gobject-introspection/wip/transformer] [gdumpparser] Remove unused methods



commit 2189b5f516ba816dee98c4412a408e036a57c8e0
Author: Johan Dahlin <johan gnome org>
Date:   Sat Aug 28 10:57:25 2010 -0300

    [gdumpparser] Remove unused methods

 giscanner/gdumpparser.py |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index ce6f9a2..92abd8f 100644
--- a/giscanner/gdumpparser.py
+++ b/giscanner/gdumpparser.py
@@ -49,16 +49,6 @@ class IntrospectionBinary(object):
             self.tmpdir = tmpdir
 
 
-class Unresolved(object):
-
-    def __init__(self, target):
-        self.target = target
-
-
-class UnknownTypeError(Exception):
-    pass
-
-
 class GDumpParser(object):
 
     def __init__(self, transformer):
@@ -428,15 +418,6 @@ blob containing data gleaned from GObject's primitive introspection."""
             return False
         self._namespace.append(boxed_item, replace=True)
 
-    def _strip_class_suffix(self, name):
-        if (name.endswith('Class') or
-            name.endswith('Iface')):
-            return name[:-5]
-        elif name.endswith('Interface'):
-            return name[:-9]
-        else:
-            return None
-
     def _find_class_record(self, cls):
         pair_record = None
         if isinstance(cls, ast.Class):



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