Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sessionhistory.py
diff options
context:
space:
mode:
Diffstat (limited to 'sessionhistory.py')
-rw-r--r--sessionhistory.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/sessionhistory.py b/sessionhistory.py
index 2211551..c9c830d 100644
--- a/sessionhistory.py
+++ b/sessionhistory.py
@@ -22,8 +22,6 @@ from xpcom.components import interfaces
class HistoryListener(gobject.GObject):
- _com_interfaces_ = interfaces.nsISHistoryListener
-
__gsignals__ = {
'session-history-changed': (gobject.SIGNAL_RUN_FIRST,
gobject.TYPE_NONE,
@@ -35,10 +33,6 @@ class HistoryListener(gobject.GObject):
def __init__(self):
gobject.GObject.__init__(self)
- self._wrapped_self = xpcom.server.WrapObject( \
- self, interfaces.nsISHistoryListener)
- weak_ref = xpcom.client.WeakReference(self._wrapped_self)
-
def setup(self, web_navigation):
self._session_history = web_navigation.sessionHistory
self._session_history.addSHistoryListener(self._wrapped_self)