[orca] Remove yet another unused method



commit b3ee52a5f3f7c4d9326d2fa5561fa41c197f87ad
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jun 6 20:51:00 2012 -0400

    Remove yet another unused method

 src/orca/orca.py |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index b355ee9..93d10ee 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -29,7 +29,6 @@ __copyright__ = "Copyright (c) 2004-2009 Sun Microsystems Inc." \
                 "Copyright (c) 2012 Igalia, S.L."
 __license__   = "LGPL"
 
-import gc
 import os
 import pyatspi
 import re
@@ -982,17 +981,6 @@ def examineProcesses():
         debug.println(
             debug.LEVEL_ALL, '%3i. %s (pid: %s) %s' % (i+1, name, pid, cmd))
 
-def cleanupGarbage():
-    """Cleans up garbage on the heap."""
-    gc.collect()
-    for obj in gc.garbage:
-        try:
-            if isinstance(obj, pyatspi.Accessibility.Accessible):
-                gc.garbage.remove(obj)
-                obj.__del__()
-        except:
-            pass
-
 def main():
     """The main entry point for Orca.  The exit codes for Orca will
     loosely be based on signals, where the exit code will be the



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