Cast size to int

This commit is contained in:
Marco Pesenti Gritti 2006-09-11 19:25:16 +02:00
parent 4ae80802ce
commit d06cb74d25
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
AC_INIT([Sugar],[0.27],[],[sugar])
AC_INIT([Sugar],[0.28],[],[sugar])
AC_PREREQ([2.59])

View File

@ -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)