finch/libgnt/pygnt/test.py

branch
sadrul.conv.persistent
changeset 19814
05ce6c570b47
parent 19173
467db4a9cc44
child 22141
adb198961d72
equal deleted inserted replaced
19813:96efb32a370c 19814:05ce6c570b47
13 } 13 }
14 14
15 def __init__(self, type = 'string', value = None): 15 def __init__(self, type = 'string', value = None):
16 self.__gobject_init__() 16 self.__gobject_init__()
17 self.set_property(type, value) 17 self.set_property(type, value)
18
19 def __del__(self):
20 pass
18 21
19 def do_set_property(self, pspec, value): 22 def do_set_property(self, pspec, value):
20 if pspec.name == 'string': 23 if pspec.name == 'string':
21 self.string = value 24 self.string = value
22 self.type = gobject.TYPE_STRING 25 self.type = gobject.TYPE_STRING

mercurial