aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-04-06 14:03:52 +0200
committerGuido Günther <agx@sigxcpu.org>2020-04-06 15:15:06 +0200
commitce8e4040d59c4f351724e6a731716c42dbbb44cc (patch)
tree29534436a52bb7c55f061302545798d376aae35f
parentb217aadd22699efef2470775cd99050e72679047 (diff)
No need to register types anymore
-rw-r--r--src/ppm/accountdb.py3
-rw-r--r--src/ppm/modemproxy.py3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/ppm/accountdb.py b/src/ppm/accountdb.py
index 283a913..9c3d471 100644
--- a/src/ppm/accountdb.py
+++ b/src/ppm/accountdb.py
@@ -51,9 +51,6 @@ class Account(GObject.GObject):
self.props.timestamp = timestamp
-GObject.type_register(Account)
-
-
class AccountDB(object):
"""
In Gsettings we keep the detailed provider information that's associated
diff --git a/src/ppm/modemproxy.py b/src/ppm/modemproxy.py
index 189836b..314068f 100644
--- a/src/ppm/modemproxy.py
+++ b/src/ppm/modemproxy.py
@@ -239,6 +239,3 @@ class ModemManagerProxy(GObject.GObject):
self._modem_enable(False,
reply_func=reply_func,
error_func=error_func)
-
-
-GObject.type_register(ModemManagerProxy)