Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-03-05 11:29:36 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-03-05 11:29:36 (GMT)
commit9bd24794c0857937ac8ffb3ff8296b43dd75a3f5 (patch)
tree75856e4515ec9fca658de88d9a4c2ee05647b92b /src
parent1f39f509b399f678a1916b155cd697ad1afa393f (diff)
Change property type to object because int cannot be None #157
Diffstat (limited to 'src')
-rw-r--r--src/sugar/graphics/icon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py
index d047d56..6e88f88 100644
--- a/src/sugar/graphics/icon.py
+++ b/src/sugar/graphics/icon.py
@@ -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):
"""