diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-25 10:34:54 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-25 10:34:54 (GMT) |
commit | eafd338d093ef78752466a88c14a87e4c9e864b4 (patch) | |
tree | 5ab7aca9af604d5f59b2715f790b7c8e381e8386 /services | |
parent | a868f6eb9c8de4855b8462be71be4e305af4e510 (diff) |
services/presence/buddy: Stop treating server, key_hash, registered as GObject properties.
They're not handled in the inherited do_set_property()/do_get_property(), so
won't work as properties, and there seems to be no need for them to be
properties at all.
This fixes the following assertion when importing buddy:
Warning: g_object_class_install_property: assertion `pspec->flags & G_PARAM_WRITABLE' failed
type_register(cls, namespace.get('__gtype_name__'))
Diffstat (limited to 'services')
-rw-r--r-- | services/presence/buddy.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/services/presence/buddy.py b/services/presence/buddy.py index da70e74..b411270 100644 --- a/services/presence/buddy.py +++ b/services/presence/buddy.py @@ -499,15 +499,6 @@ class GenericOwner(Buddy): """ __gtype_name__ = "GenericOwner" - __gproperties__ = { - 'registered' : (bool, None, None, False, - gobject.PARAM_READWRITE | gobject.PARAM_CONSTRUCT), - 'server' : (str, None, None, None, - gobject.PARAM_READABLE | gobject.PARAM_CONSTRUCT), - 'key-hash' : (str, None, None, None, - gobject.PARAM_READABLE | gobject.PARAM_CONSTRUCT) - } - def __init__(self, ps, bus_name, object_id, **kwargs): """Initialize the GenericOwner instance |