Remove type_register for EngineBase and EngineFactoryBase.
authorHuang Peng <shawn.p.huang@gmail.com>
Fri, 18 Jul 2008 01:22:26 +0000 (09:22 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Fri, 18 Jul 2008 01:22:26 +0000 (09:22 +0800)
ibus/engine.py
ibus/factory.py

index 8802aaf..5cf82b3 100644 (file)
@@ -99,8 +99,6 @@ class EngineBase(ibus.Object):
         super(EngineBase,self).do_destroy()
 
 
-gobject.type_register(EngineBase)
-
 class EngineProxy(interface.IEngine):
     def __init__(self, engine, conn, object_path):
         super(EngineProxy, self).__init__(dbusconn, object_path)
index 7273981..e3f2054 100644 (file)
@@ -58,7 +58,6 @@ class EngineFactoryBase(ibus.Object):
         self.__engine_path = None
         super(EngineBase,self).do_destroy()
 
-gobject.type_register(EngineFactoryBase)
 
 class EngineFactoryProxy(interface.IEngineFactory):
     def __init__(self, factory, conn, object_path):