diff --git a/configure.ac b/configure.ac index 072ebd85..25710ab4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([Sugar],[0.27],[],[sugar]) +AC_INIT([Sugar],[0.28],[],[sugar]) AC_PREREQ([2.59]) diff --git a/sugar/canvas/IconItem.py b/sugar/canvas/IconItem.py index b9e1fb3a..e0c3b839 100644 --- a/sugar/canvas/IconItem.py +++ b/sugar/canvas/IconItem.py @@ -124,7 +124,7 @@ class IconView(goocanvas.ItemViewSimple, goocanvas.ItemView): self._buffer = None if self._buffer == None: - size = _ICON_SIZE * scale + size = int(_ICON_SIZE * scale) surface = cr.get_target().create_similar( cairo.CONTENT_COLOR_ALPHA, size, size)