diff options
Diffstat (limited to 'dbus/gi_service.py')
-rw-r--r-- | dbus/gi_service.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/gi_service.py b/dbus/gi_service.py index 924442f..2703289 100644 --- a/dbus/gi_service.py +++ b/dbus/gi_service.py @@ -37,12 +37,12 @@ import dbus.service # `ExportedGObjectType` as its metaclass, which is sufficient to make it work # correctly. -class ExportedGObjectType(GObject.GObjectMeta, dbus.service.InterfaceType): +class ExportedGObjectType(GObject.GObject.__class__, dbus.service.InterfaceType): """A metaclass which inherits from both GObjectMeta and `dbus.service.InterfaceType`. Used as the metaclass for `ExportedGObject`. """ def __init__(cls, name, bases, dct): - GObject.GObjectMeta.__init__(cls, name, bases, dct) + GObject.GObject.__class__.__init__(cls, name, bases, dct) dbus.service.InterfaceType.__init__(cls, name, bases, dct) |