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.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/sessionhistory.py b/sessionhistory.py
index be4ab93..615a98d 100644
--- a/sessionhistory.py
+++ b/sessionhistory.py
@@ -16,24 +16,24 @@
import logging
-import gobject
+from gi.repository import GObject
import xpcom
from xpcom.components import interfaces
-class HistoryListener(gobject.GObject):
+class HistoryListener(GObject.GObject):
_com_interfaces_ = interfaces.nsISHistoryListener
__gsignals__ = {
- 'session-history-changed': (gobject.SIGNAL_RUN_FIRST,
- gobject.TYPE_NONE,
+ 'session-history-changed': (GObject.SignalFlags.RUN_FIRST,
+ None,
([int])),
- 'session-link-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE,
+ 'session-link-changed': (GObject.SignalFlags.RUN_FIRST, None,
([str])),
}
def __init__(self):
- gobject.GObject.__init__(self)
+ GObject.GObject.__init__(self)
self._wrapped_self = xpcom.server.WrapObject( \
self, interfaces.nsISHistoryListener)