Change property type to object because int cannot be None #157
This commit is contained in:
parent
1f39f509b3
commit
9bd24794c0
@ -733,7 +733,7 @@ class CanvasIcon(hippo.CanvasBox, hippo.CanvasItem):
|
||||
return self._buffer.width
|
||||
|
||||
size = gobject.property(
|
||||
type=int, getter=get_size, setter=set_size)
|
||||
type=object, getter=get_size, setter=set_size)
|
||||
|
||||
def set_scale(self, value):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user